다음을 통해 공유


AttributedModelServices.CreatePart 메서드

정의

구성 가능 부분을 만듭니다.

오버로드

CreatePart(Object)

지정된 특성 사용 개체에서 작성 가능한 파트를 만듭니다.

CreatePart(ComposablePartDefinition, Object)

지정된 파트 정의를 사용하여 특성 사용 개체에서 작성 가능한 파트를 만듭니다.

CreatePart(Object, ReflectionContext)

지정된 리플렉션 컨텍스트를 사용하여 특성이 지정된 개체에서 작성 가능한 파트를 만듭니다.

CreatePart(Object)

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

지정된 파트 정의를 사용하여 특성 사용 개체에서 작성 가능한 파트를 만듭니다.

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

지정된 리플렉션 컨텍스트를 사용하여 특성이 지정된 개체에서 작성 가능한 파트를 만듭니다.

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

파트의 리플렉션 컨텍스트입니다.

반환

만들어진 파트입니다.

예외

reflectionContextnull입니다.

적용 대상