AttributedModelServices.CreatePartDefinition 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 형식 및 원본을 사용하여 파트 정의를 만듭니다.
오버로드
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
새 정의가 검색 가능한지 여부를 나타내는 값입니다.
반환
새 파트 정의입니다.
적용 대상
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET