다음을 통해 공유


AttributedModelServices.CreatePartDefinition 메서드

정의

지정된 형식 및 원본을 사용하여 파트 정의를 만듭니다.

오버로드

CreatePartDefinition(Type, ICompositionElement)

지정된 형식 및 원본을 사용하여 파트 정의를 만듭니다.

CreatePartDefinition(Type, ICompositionElement, Boolean)

지정된 형식 및 원본을 사용하여 파트 정의를 만듭니다.

CreatePartDefinition(Type, ICompositionElement)

Source:
AttributedModelServices.cs
Source:
AttributedModelServices.cs
Source:
AttributedModelServices.cs

지정된 형식 및 원본을 사용하여 파트 정의를 만듭니다.

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);
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)

Source:
AttributedModelServices.cs
Source:
AttributedModelServices.cs
Source:
AttributedModelServices.cs

지정된 형식 및 원본을 사용하여 파트 정의를 만듭니다.

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);
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

새 정의가 검색 가능한지 여부를 나타내는 값입니다.

반환

새 파트 정의입니다.

적용 대상