ProtoLink Class

Definition

ProtoLink contains the information needed to recreate an ElementLink in any Store

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

Constructors

ProtoLink(ElementLink)

Creates an instance of the ProtoLink 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)

Puts object data into the serialization data transfer 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)
GetRolePlayerId(Guid)

Gets the Guid idenitifier of the ProtoElement playing the specified domain role in this ProtoLink.

GetRolePlayerMonikerId(Guid)

Gets the Guid idenitifier of the moniker playing the specified domain role in this ProtoLink.

GetSourceRolePlayer(Partition)
GetTargetRolePlayer(Partition)
ReconstituteObject(Dictionary<Guid,Guid>, Partition)

Recreate the ElementLink in the indicated store

Explicit Interface Implementations

IDeserializationCallback.OnDeserialization(Object)

Deserialize the object when the graph is fully loaded

Applies to