Aracılığıyla paylaş


AttributedModelServices.CreatePart Yöntem

Tanım

Birleştirilebilir parça oluşturur.

Aşırı Yüklemeler

CreatePart(Object)

Belirtilen öznitelikli nesneden birleştirilebilir parça oluşturur.

CreatePart(ComposablePartDefinition, Object)

Belirtilen öznitelikli nesneden, belirtilen parça tanımını kullanarak birleştirilebilir parça oluşturur.

CreatePart(Object, ReflectionContext)

Belirtilen yansıma bağlamını kullanarak belirtilen öznitelikli nesneden birleştirilebilir parça oluşturur.

CreatePart(Object)

Kaynak:
AttributedModelServices.cs
Kaynak:
AttributedModelServices.cs
Kaynak:
AttributedModelServices.cs

Belirtilen öznitelikli nesneden birleştirilebilir parça oluşturur.

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

Parametreler

attributedPart
Object

Öznitelikli nesne.

Döndürülenler

Oluşturulan bölüm.

Şunlara uygulanır

CreatePart(ComposablePartDefinition, Object)

Kaynak:
AttributedModelServices.cs
Kaynak:
AttributedModelServices.cs
Kaynak:
AttributedModelServices.cs

Belirtilen öznitelikli nesneden, belirtilen parça tanımını kullanarak birleştirilebilir parça oluşturur.

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

Parametreler

partDefinition
ComposablePartDefinition

Yeni bölümün tanımı.

attributedPart
Object

Öznitelikli nesne.

Döndürülenler

Oluşturulan bölüm.

Şunlara uygulanır

CreatePart(Object, ReflectionContext)

Kaynak:
AttributedModelServices.cs
Kaynak:
AttributedModelServices.cs
Kaynak:
AttributedModelServices.cs

Belirtilen yansıma bağlamını kullanarak belirtilen öznitelikli nesneden birleştirilebilir parça oluşturur.

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

Parametreler

attributedPart
Object

Öznitelikli nesne.

reflectionContext
ReflectionContext

Bölümün yansıma bağlamı.

Döndürülenler

Oluşturulan bölüm.

Özel durumlar

reflectionContext, null değeridir.

Şunlara uygulanır