다음을 통해 공유


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 네임스페이스