| 
            
              AdapterCollectionBaseTTryCreateAdapter Method
             | 
          
        
        
            Attempts to create an 
IAdapter from the specified 
DataRow.
            
 
        
        Namespace: GSF.TimeSeries.AdaptersAssembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.258-beta
Syntaxpublic virtual bool TryCreateAdapter(
	DataRow adapterRow,
	out T adapter
)
Public Overridable Function TryCreateAdapter ( 
	adapterRow As DataRow,
	<OutAttribute> ByRef adapter As T
) As Boolean
public:
virtual bool TryCreateAdapter(
	DataRow^ adapterRow, 
	[OutAttribute] T% adapter
)
abstract TryCreateAdapter : 
        adapterRow : DataRow * 
        adapter : 'T byref -> bool 
override TryCreateAdapter : 
        adapterRow : DataRow * 
        adapter : 'T byref -> bool function TryCreateAdapter(adapterRow, adapter);
 View SourceParameters
- adapterRow  DataRow
 - DataRow containing item information to initialize.
 - adapter  T
 - Initialized adapter if successful; otherwise null.
 
Return Value
Booleantrue if item was successfully initialized; otherwise 
false.
Exceptions| Exception | Condition | 
|---|
| NullReferenceException | adapterRow is null. | 
Remarks
            See 
DataSource property for expected 
DataRow column names.
            
See Also