共用方式為


ProtoElement Class

Definition

Prototype class for an element

public ref class ProtoElement sealed : Microsoft::VisualStudio::Modeling::ProtoElementBase, System::Runtime::Serialization::ISerializable
[System.Serializable]
public sealed class ProtoElement : Microsoft.VisualStudio.Modeling.ProtoElementBase, System.Runtime.Serialization.ISerializable
[<System.Serializable>]
type ProtoElement = class
    inherit ProtoElementBase
    interface ISerializable
Public NotInheritable Class ProtoElement
Inherits ProtoElementBase
Implements ISerializable
Inheritance
ProtoElement
Attributes
Implements

Constructors

ProtoElement(Guid)

Creates an instance of the ProtoElementBase class

ProtoElement(ModelElement)

Creates an instance of the ProtoElement class.

Properties

DomainClassId

Get the Id of the domain class for this prototype element.

(Inherited from ProtoElementBase)
ElementId

Get the Id of the prototype element.

(Inherited from ProtoElementBase)

Methods

GetObjectData(SerializationInfo, StreamingContext)

Serializes object data into the SerializationInfo object.

GetPropertyAssignments(Partition)

Get the AttributeAssignements for the progenitor element's attributes

(Inherited from ProtoElementBase)
GetPropertyValue(Guid)

Gets the value of the specified domain property.

(Inherited from ProtoElementBase)
ReconstituteObject(Dictionary<Guid,Guid>, Partition)

Creates an element in the partition with the same attributes as the progenitor element

Applies to