Export (0) Print
Expand All

DataServiceConfiguration.RegisterKnownType Method

Adds a type to the list of types that are recognized by the data service.

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

public void RegisterKnownType(
	Type type
)

Parameters

type
Type: System.Type
The type to add to the collection of known types.

Implements

IDataServiceConfiguration.RegisterKnownType(Type)

A provider can use the RegisterKnownType method to register a type when it cannot be detected by the runtime by using the default set of rules.

Show:
© 2015 Microsoft