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


EnumerationExtensions.CreateEnumerationLiteral - метод

Создает новый объект IEnumerationLiteral в перечислении

Пространство имен:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Сборка:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (в Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)

Синтаксис

'Декларация
<ExtensionAttribute> _
Public Shared Function CreateEnumerationLiteral ( _
    parent As IEnumeration _
) As IEnumerationLiteral
public static IEnumerationLiteral CreateEnumerationLiteral(
    this IEnumeration parent
)
[ExtensionAttribute]
public:
static IEnumerationLiteral^ CreateEnumerationLiteral(
    IEnumeration^ parent
)
static member CreateEnumerationLiteral : 
        parent:IEnumeration -> IEnumerationLiteral 
public static function CreateEnumerationLiteral(
    parent : IEnumeration
) : IEnumerationLiteral

Параметры

Возвращаемое значение

Тип: Microsoft.VisualStudio.Uml.Classes.IEnumerationLiteral

Примечание об использовании

В Visual Basic и C# этот метод можно вызывать как метод экземпляра для любого объекта типа IEnumeration. При вызове метода для экземпляра следует опускать первый параметр. Дополнительные сведения см. в разделе Методы расширения (Visual Basic) или Методы расширения (Руководство по программированию в C#).

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

См. также

Ссылки

EnumerationExtensions Класс

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml - пространство имен