RoleAssignment.CreatePlaceholderRoleAssignment(Guid) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Special factory method to create a placeholder RoleAssignment. The assignment will contain no valid ModelElement/Moniker. It is used in special cases like serialization to create a temporary role assignment, which will then be replaced by a valid one later.
public:
static Microsoft::VisualStudio::Modeling::RoleAssignment ^ CreatePlaceholderRoleAssignment(Guid domainRoleId);
[System.Diagnostics.DebuggerStepThrough]
public static Microsoft.VisualStudio.Modeling.RoleAssignment CreatePlaceholderRoleAssignment (Guid domainRoleId);
[<System.Diagnostics.DebuggerStepThrough>]
static member CreatePlaceholderRoleAssignment : Guid -> Microsoft.VisualStudio.Modeling.RoleAssignment
Public Shared Function CreatePlaceholderRoleAssignment (domainRoleId As Guid) As RoleAssignment
Parameters
- domainRoleId
- Guid
The Id of domain role being assigned.
Returns
The created place-holder RoleAssignment.
- Attributes