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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
<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.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetObjectData | Renders ProtoRolePlayer data for serialization | |
GetType | Gets the Type of the current instance. (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.