AttributedModelServices.CreatePartDefinition 메서드

정의

지정된 형식과 원점이 있는 파트 정의를 만듭니다.

오버로드

Name Description
CreatePartDefinition(Type, ICompositionElement)

지정된 형식과 원점이 있는 파트 정의를 만듭니다.

CreatePartDefinition(Type, ICompositionElement, Boolean)

지정된 형식과 원점이 있는 파트 정의를 만듭니다.

CreatePartDefinition(Type, ICompositionElement)

지정된 형식과 원점이 있는 파트 정의를 만듭니다.

public:
 static System::ComponentModel::Composition::Primitives::ComposablePartDefinition ^ CreatePartDefinition(Type ^ type, System::ComponentModel::Composition::Primitives::ICompositionElement ^ origin);
public static System.ComponentModel.Composition.Primitives.ComposablePartDefinition CreatePartDefinition(Type type, System.ComponentModel.Composition.Primitives.ICompositionElement origin);
static member CreatePartDefinition : Type * System.ComponentModel.Composition.Primitives.ICompositionElement -> System.ComponentModel.Composition.Primitives.ComposablePartDefinition
Public Function CreatePartDefinition (type As Type, origin As ICompositionElement) As ComposablePartDefinition

매개 변수

type
Type

정의의 형식입니다.

origin
ICompositionElement

정의의 원점입니다.

반품

새 파트 정의입니다.

적용 대상

CreatePartDefinition(Type, ICompositionElement, Boolean)

지정된 형식과 원점이 있는 파트 정의를 만듭니다.

public:
 static System::ComponentModel::Composition::Primitives::ComposablePartDefinition ^ CreatePartDefinition(Type ^ type, System::ComponentModel::Composition::Primitives::ICompositionElement ^ origin, bool ensureIsDiscoverable);
public static System.ComponentModel.Composition.Primitives.ComposablePartDefinition CreatePartDefinition(Type type, System.ComponentModel.Composition.Primitives.ICompositionElement origin, bool ensureIsDiscoverable);
static member CreatePartDefinition : Type * System.ComponentModel.Composition.Primitives.ICompositionElement * bool -> System.ComponentModel.Composition.Primitives.ComposablePartDefinition
Public Function CreatePartDefinition (type As Type, origin As ICompositionElement, ensureIsDiscoverable As Boolean) As ComposablePartDefinition

매개 변수

type
Type

정의의 형식입니다.

origin
ICompositionElement

정의의 원점입니다.

ensureIsDiscoverable
Boolean

새 정의를 검색할 수 있는지 여부를 나타내는 값입니다.

반품

새 파트 정의입니다.

적용 대상