ProtoRolePlayer Class
Contains the data necessary to set the role player data on an ElementLink.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.ProtoRolePlayer
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'宣告
<SerializableAttribute> _
Public NotInheritable Class ProtoRolePlayer _
Implements ISerializable
[SerializableAttribute]
public sealed class ProtoRolePlayer : ISerializable
[SerializableAttribute]
public ref class ProtoRolePlayer sealed : ISerializable
[<Sealed>]
[<SerializableAttribute>]
type ProtoRolePlayer =
class
interface ISerializable
end
public final class ProtoRolePlayer implements ISerializable
The ProtoRolePlayer type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ProtoRolePlayer | Constructor |
Top
Properties
Name | Description | |
---|---|---|
DomainRoleId | Gets the DomainRoleId Guid. | |
Ordinals | Gets the int Ordinal. | |
RolePlayerId | Gets the RolePlayerId Guid. | |
RolePlayerMonikerId | Gets the RolePlayerMonikerId Guid. |
Top
Methods
Name | Description | |
---|---|---|
CreateRoleAssignment | Creates a RoleAssignment for the rolePlayer in the link that is being created. If the idDictionary does not contain an id for the reconstituted rolePlayer, use the original rolePlayer from which this ProtoRolePlayer was created, if CanUseExistingRolePlayer method returns true. | |
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 | Renders ProtoRolePlayer data for serialization | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
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.