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


EnumerationLiteralExtensions.CreateSpecificationLiteralInteger - метод

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

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

Синтаксис

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

Параметры

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

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

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

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

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

См. также

Ссылки

EnumerationLiteralExtensions Класс

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