PartDiscovery.CreatePart 메서드

정의

오버로드

CreatePart(Type)

형식을 반영하고 해당 역할에 대한 메타데이터를 MEF 부분으로 반환합니다(해당하는 경우).

CreatePart(Type, Boolean)

형식을 반영하고 해당 역할에 대한 메타데이터를 MEF 부분으로 반환합니다(해당하는 경우).

CreatePart(Type)

Source:
PartDiscovery.cs
Source:
PartDiscovery.cs

형식을 반영하고 해당 역할에 대한 메타데이터를 MEF 부분으로 반환합니다(해당하는 경우).

public Microsoft.VisualStudio.Composition.ComposablePartDefinition CreatePart(Type partType);
member this.CreatePart : Type -> Microsoft.VisualStudio.Composition.ComposablePartDefinition
Public Function CreatePart (partType As Type) As ComposablePartDefinition

매개 변수

partType
Type

반영할 형식입니다.

반환

의 새 instance ComposablePartDefinition MEF 부분을 나타내면 partType 이고, 그렇지 않으면 null입니다.

적용 대상

CreatePart(Type, Boolean)

Source:
PartDiscovery.cs
Source:
PartDiscovery.cs

형식을 반영하고 해당 역할에 대한 메타데이터를 MEF 부분으로 반환합니다(해당하는 경우).

protected abstract Microsoft.VisualStudio.Composition.ComposablePartDefinition CreatePart(Type partType, bool typeExplicitlyRequested);
abstract member CreatePart : Type * bool -> Microsoft.VisualStudio.Composition.ComposablePartDefinition
Protected MustOverride Function CreatePart (partType As Type, typeExplicitlyRequested As Boolean) As ComposablePartDefinition

매개 변수

partType
Type

반영할 형식입니다.

typeExplicitlyRequested
Boolean

이 형식이 카탈로그에 포함하기 위해 명시적으로 요청되었는지 여부를 나타내는 값입니다.

반환

의 새 instance ComposablePartDefinition MEF 부분을 나타내면 partType 이고, 그렇지 않으면 null입니다.

적용 대상