IDataServiceConfiguration.RegisterKnownType Method

Registers a resource type for use by the data service.

Namespace:  System.Data.Services
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

Syntax

'Declaration
Sub RegisterKnownType ( _
    type As Type _
)
'Usage
Dim instance As IDataServiceConfiguration 
Dim type As Type

instance.RegisterKnownType(type)
void RegisterKnownType(
    Type type
)
void RegisterKnownType(
    Type^ type
)
abstract RegisterKnownType : 
        type:Type -> unit
function RegisterKnownType(
    type : Type
)

Parameters

  • type
    Type: System.Type
    The resource type to register.

See Also

Reference

IDataServiceConfiguration Interface

System.Data.Services Namespace