Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Sets Role.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)
Syntax
'Declaration
Public Shared Sub SetRole ( _
element As PathSegment, _
newRole As DomainRole _
)
public static void SetRole(
PathSegment element,
DomainRole newRole
)
public:
static void SetRole(
PathSegment^ element,
DomainRole^ newRole
)
static member SetRole :
element:PathSegment *
newRole:DomainRole -> unit
public static function SetRole(
element : PathSegment,
newRole : DomainRole
)
Parameters
- newRole
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.