Condividi tramite


ProtoElement Constructors

Definition

Overloads

ProtoElement(ModelElement)

Creates an instance of the ProtoElement class.

ProtoElement(Guid)

Creates an instance of the ProtoElementBase class

ProtoElement(ModelElement)

Creates an instance of the ProtoElement class.

public:
 ProtoElement(Microsoft::VisualStudio::Modeling::ModelElement ^ element);
public ProtoElement (Microsoft.VisualStudio.Modeling.ModelElement element);
new Microsoft.VisualStudio.Modeling.ProtoElement : Microsoft.VisualStudio.Modeling.ModelElement -> Microsoft.VisualStudio.Modeling.ProtoElement
Public Sub New (element As ModelElement)

Parameters

element
ModelElement

element that this proto element represents

Applies to

ProtoElement(Guid)

Creates an instance of the ProtoElementBase class

public:
 ProtoElement(Guid domainClassId);
public ProtoElement (Guid domainClassId);
new Microsoft.VisualStudio.Modeling.ProtoElement : Guid -> Microsoft.VisualStudio.Modeling.ProtoElement
Public Sub New (domainClassId As Guid)

Parameters

domainClassId
Guid

The DomainClassInfo Id of ModelElement for which the prototype is being created.

Applies to