IDataServiceConfiguration.RegisterKnownType 方法

注册数据服务所使用的资源类型。

命名空间:  System.Data.Services
程序集:  Microsoft.Data.Services(在 Microsoft.Data.Services.dll 中)

语法

声明
Sub RegisterKnownType ( _
    type As Type _
)
用法
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
)

参数

  • type
    类型:System.Type
    要注册的资源类型。

请参阅

参考

IDataServiceConfiguration 接口

System.Data.Services 命名空间