Поделиться через


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

Загрузчик сборок.

Возвращаемое значение

Ограничение, соответствующее типу метаданных.

Применяется к