Share via


StructuredClassifierExtensions.CreatePart Method (IStructuredClassifier, IComponent)

 

Create a new Part, with a given type, or with a new type. Specify a null type to create a new Component as the type of the Part.

Namespace:   Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)

Syntax

public static IProperty CreatePart(
    this IStructuredClassifier structuredClassifier,
    IComponent propertyType
)
public:
[ExtensionAttribute]
static IProperty^ CreatePart(
    IStructuredClassifier^ structuredClassifier,
    IComponent^ propertyType
)
static member CreatePart : 
        structuredClassifier:IStructuredClassifier *
        propertyType:IComponent -> IProperty
<ExtensionAttribute>
Public Shared Function CreatePart (
    structuredClassifier As IStructuredClassifier,
    propertyType As IComponent
) As IProperty

Parameters

Return Value

Type: Microsoft.VisualStudio.Uml.Classes.IProperty

See Also

CreatePart Overload
StructuredClassifierExtensions Class
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace

Return to top