ProtoLink Class
Contains the information needed to recreate an ElementLink in any store.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.ProtoElementBase
Microsoft.VisualStudio.Modeling.ProtoLink
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public NotInheritable Class ProtoLink _
Inherits ProtoElementBase _
Implements ISerializable, IDeserializationCallback
[SerializableAttribute]
public sealed class ProtoLink : ProtoElementBase,
ISerializable, IDeserializationCallback
[SerializableAttribute]
public ref class ProtoLink sealed : public ProtoElementBase,
ISerializable, IDeserializationCallback
[<Sealed>]
[<SerializableAttribute>]
type ProtoLink =
class
inherit ProtoElementBase
interface ISerializable
interface IDeserializationCallback
end
public final class ProtoLink extends ProtoElementBase implements ISerializable, IDeserializationCallback
The ProtoLink type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ProtoLink | Creates an instance of the ProtoLink class. |
Top
Properties
Name | Description | |
---|---|---|
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.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetObjectData | Puts object data into the serialization data transfer object (Overrides ProtoElementBase.GetObjectData(SerializationInfo, StreamingContext).) | |
GetPropertyValue | Gets the value of the specified domain property. (Inherited from ProtoElementBase.) | |
GetRolePlayerId | Gets the Guid idenitifier of the ProtoElement playing the specified domain role in this ProtoLink. | |
GetRolePlayerMonikerId | Gets the Guid idenitifier of the moniker playing the specified domain role in this ProtoLink. | |
GetSourceRolePlayer | ||
GetTargetRolePlayer | ||
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ReconstituteObject | Recreate the ElementLink in the indicated store (Overrides ProtoElementBase.ReconstituteObject(Dictionary<Guid, Guid>, Partition).) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IDeserializationCallback.OnDeserialization | Deserialize the object when the graph is fully loaded |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.