Поделиться через


PathSegmentReferencesRole.SetRole - метод

Задает роль.

Пространство имен:  Microsoft.VisualStudio.Modeling.DslDefinition
Сборка:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (в Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Синтаксис

'Декларация
Public Shared Sub SetRole ( _
    element As PathSegment, _
    newRole As DomainRole _
)
public static void SetRole(
    PathSegment element,
    DomainRole newRole
)

Параметры

Безопасность платформы .NET Framework

См. также

Ссылки

PathSegmentReferencesRole Класс

Microsoft.VisualStudio.Modeling.DslDefinition - пространство имен