Registers the given interface type with the persistent object type. This is required if an interface is registered
with a persistent type and the interface is used instead of the persistent type. The framework looks up the
registered interfaces to get the persistent object when loading objects from the storage.
Syntax
| Visual Basic (Declaration) | |
|---|
Overloads Public Shared Function RegisterPersistentInterface( _
ByVal interfaceType As String, _
ByVal persistentType As String _
) As Boolean |
| Visual Basic (Usage) | Copy Code |
|---|
Dim interfaceType As String
Dim persistentType As String
Dim value As Boolean
value = TypeMapping.RegisterPersistentInterface(interfaceType, persistentType)
|
Parameters
- interfaceType
- The string representation of the interface type registered with the persistent type.
- persistentType
- The string representation of the persistent type registered with the interface type.
Return Value
True if the interface wasn't already registered.
Requirements
Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family
See Also