AdapterCollectionBaseTTryCreateAdapter Method
Attempts to create an
IAdapter from the specified
DataRow.
Namespace: Gemstone.Timeseries.AdaptersAssembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.158 -- Release Build+742760b9fc81f0ff99a22d1d8a726573e73efb7e
public 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
)
function TryCreateAdapter(adapterRow, adapter);
- adapterRow DataRow
- DataRow containing item information to initialize.
- adapter T
- Initialized adapter if successful; otherwise null.
Booleantrue if item was successfully initialized; otherwise
false.
See
DataSource property for expected
DataRow column names.
| NullReferenceException | adapterRow is null. |