다음을 통해 공유


ImportMetadataViewConstraint.GetConstraint(TypeRef, Resolver) 메서드

정의

지정된 메타데이터 형식에 대한 제약 조건을 만듭니다.

public static Microsoft.VisualStudio.Composition.ImportMetadataViewConstraint GetConstraint(Microsoft.VisualStudio.Composition.Reflection.TypeRef metadataTypeRef, Microsoft.VisualStudio.Composition.Resolver resolver);
static member GetConstraint : Microsoft.VisualStudio.Composition.Reflection.TypeRef * Microsoft.VisualStudio.Composition.Resolver -> Microsoft.VisualStudio.Composition.ImportMetadataViewConstraint
Public Shared Function GetConstraint (metadataTypeRef As TypeRef, resolver As Resolver) As ImportMetadataViewConstraint

매개 변수

metadataTypeRef
TypeRef

메타데이터 형식입니다.

resolver
Resolver

어셈블리 로더입니다.

반환

메타데이터 형식과 일치하는 제약 조건입니다.

적용 대상