ProtoElement 构造函数

定义

重载

ProtoElement(ModelElement)

创建 ProtoElement 类的实例。

ProtoElement(Guid)

创建 ProtoElementBase 类的实例

ProtoElement(ModelElement)

创建 ProtoElement 类的实例。

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)

参数

element
ModelElement

此 proto 元素表示的元素

适用于

ProtoElement(Guid)

创建 ProtoElementBase 类的实例

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

参数

domainClassId
Guid

正在为其创建原型的 ModelElement 的 DomainClassInfo Id。

适用于