共用方式為


ProtoElementBase Constructors

Definition

Overloads

ProtoElementBase(ModelElement)

Creates an instance of the ProtoElementBase class.

ProtoElementBase(Guid)

Creates an instance of the ProtoElementBase class for a given domainClassId. This mode is used to determine whether the given DomainClassInfo type can be merged under any given model element.

ProtoElementBase(SerializationInfo, StreamingContext)

Creates an instance of the ProtoElementBase class.

ProtoElementBase(ModelElement)

Creates an instance of the ProtoElementBase class.

protected:
 ProtoElementBase(Microsoft::VisualStudio::Modeling::ModelElement ^ element);
protected ProtoElementBase (Microsoft.VisualStudio.Modeling.ModelElement element);
new Microsoft.VisualStudio.Modeling.ProtoElementBase : Microsoft.VisualStudio.Modeling.ModelElement -> Microsoft.VisualStudio.Modeling.ProtoElementBase
Protected Sub New (element As ModelElement)

Parameters

element
ModelElement

The element for which the prototype is being created.

Applies to

ProtoElementBase(Guid)

Creates an instance of the ProtoElementBase class for a given domainClassId. This mode is used to determine whether the given DomainClassInfo type can be merged under any given model element.

protected:
 ProtoElementBase(Guid domainClassId);
protected ProtoElementBase (Guid domainClassId);
new Microsoft.VisualStudio.Modeling.ProtoElementBase : Guid -> Microsoft.VisualStudio.Modeling.ProtoElementBase
Protected Sub New (domainClassId As Guid)

Parameters

domainClassId
Guid

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

Applies to

ProtoElementBase(SerializationInfo, StreamingContext)

Creates an instance of the ProtoElementBase class.

protected:
 ProtoElementBase(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected ProtoElementBase (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.VisualStudio.Modeling.ProtoElementBase : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualStudio.Modeling.ProtoElementBase
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

Contains the serialized ProtoElementBase data

context
StreamingContext

Serialization context hint

Applies to