ProtoElement 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 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。