|   | AdapterCollectionBaseTTryCreateAdapter Method | 
        
        
            Attempts to create an 
IAdapter from the specified 
DataRow.
            
 GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.257-beta
 Syntax
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);
Parameters
- 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
Exceptions| Exception | Condition | 
|---|
| NullReferenceException | adapterRow is null. | 
 Remarks
Remarks
            See 
DataSource property for expected 
DataRow column names.
            
 See Also
See Also