Returns the type of the persistent object to create.
Syntax
| Visual Basic (Declaration) | |
|---|
Overridable Function FetchPersistentType( _
ByVal dataRecord As IDataRecord _
) As Type |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As IPersistentTypeSelector
Dim dataRecord As IDataRecord
Dim value As Type
value = instance.FetchPersistentType(dataRecord)
|
| C# | |
|---|
virtual Type FetchPersistentType(
IDataRecord dataRecord
) |
| Managed Extensions for C++ | |
|---|
virtual Type* FetchPersistentType(
IDataRecord dataRecord
) |
| C++/CLI | |
|---|
virtual Type^ FetchPersistentType(
IDataRecord dataRecord
) |
Parameters
- dataRecord
- The current record returned by the storage.
Return Value
A type or null if the current record should be ignored.
Requirements
Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family
See Also