AttributedModelServices.CreatePart 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
구성 가능한 부분을 만듭니다.
오버로드
CreatePart(Object) |
지정된 특성 개체에서 구성 가능한 부분을 만듭니다. |
CreatePart(ComposablePartDefinition, Object) |
지정된 파트 정의를 사용하여 지정된 특성 개체에서 구성 가능한 파트를 만듭니다. |
CreatePart(Object, ReflectionContext) |
지정된 리플렉션 컨텍스트를 사용하여 지정된 특성 개체에서 구성 가능한 부분을 만듭니다. |
CreatePart(Object)
- Source:
- AttributedModelServices.cs
- Source:
- AttributedModelServices.cs
- Source:
- AttributedModelServices.cs
- Source:
- AttributedModelServices.cs
지정된 특성 개체에서 구성 가능한 부분을 만듭니다.
public:
static System::ComponentModel::Composition::Primitives::ComposablePart ^ CreatePart(System::Object ^ attributedPart);
public static System.ComponentModel.Composition.Primitives.ComposablePart CreatePart (object attributedPart);
static member CreatePart : obj -> System.ComponentModel.Composition.Primitives.ComposablePart
Public Function CreatePart (attributedPart As Object) As ComposablePart
매개 변수
- attributedPart
- Object
특성이 지정된 개체입니다.
반환
만든 파트입니다.
적용 대상
CreatePart(ComposablePartDefinition, Object)
- Source:
- AttributedModelServices.cs
- Source:
- AttributedModelServices.cs
- Source:
- AttributedModelServices.cs
- Source:
- AttributedModelServices.cs
지정된 파트 정의를 사용하여 지정된 특성 개체에서 구성 가능한 파트를 만듭니다.
public:
static System::ComponentModel::Composition::Primitives::ComposablePart ^ CreatePart(System::ComponentModel::Composition::Primitives::ComposablePartDefinition ^ partDefinition, System::Object ^ attributedPart);
public static System.ComponentModel.Composition.Primitives.ComposablePart CreatePart (System.ComponentModel.Composition.Primitives.ComposablePartDefinition partDefinition, object attributedPart);
static member CreatePart : System.ComponentModel.Composition.Primitives.ComposablePartDefinition * obj -> System.ComponentModel.Composition.Primitives.ComposablePart
Public Function CreatePart (partDefinition As ComposablePartDefinition, attributedPart As Object) As ComposablePart
매개 변수
- partDefinition
- ComposablePartDefinition
새 파트의 정의입니다.
- attributedPart
- Object
특성이 지정된 개체입니다.
반환
만든 파트입니다.
적용 대상
CreatePart(Object, ReflectionContext)
- Source:
- AttributedModelServices.cs
- Source:
- AttributedModelServices.cs
- Source:
- AttributedModelServices.cs
- Source:
- AttributedModelServices.cs
지정된 리플렉션 컨텍스트를 사용하여 지정된 특성 개체에서 구성 가능한 부분을 만듭니다.
public:
static System::ComponentModel::Composition::Primitives::ComposablePart ^ CreatePart(System::Object ^ attributedPart, System::Reflection::ReflectionContext ^ reflectionContext);
public static System.ComponentModel.Composition.Primitives.ComposablePart CreatePart (object attributedPart, System.Reflection.ReflectionContext reflectionContext);
static member CreatePart : obj * System.Reflection.ReflectionContext -> System.ComponentModel.Composition.Primitives.ComposablePart
Public Function CreatePart (attributedPart As Object, reflectionContext As ReflectionContext) As ComposablePart
매개 변수
- attributedPart
- Object
특성이 지정된 개체입니다.
- reflectionContext
- ReflectionContext
파트의 리플렉션 컨텍스트입니다.
반환
만든 파트입니다.
예외
reflectionContext
null
.
적용 대상
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET