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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'宣告
<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.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetObjectData | Puts object data into the serialization data transfer object (Overrides ProtoElementBase.GetObjectData(SerializationInfo, StreamingContext).) | |
GetPropertyAssignments | Get the AttributeAssignements for the progenitor element's attributes (Inherited from ProtoElementBase.) | |
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.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (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.