EnumerationHasLiterals.GetLiterals Method
Gets a list of Literals.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Declaração
Public Shared Function GetLiterals ( _
element As DomainEnumeration _
) As LinkedElementCollection(Of EnumerationLiteral)
public static LinkedElementCollection<EnumerationLiteral> GetLiterals(
DomainEnumeration element
)
public:
static LinkedElementCollection<EnumerationLiteral^>^ GetLiterals(
DomainEnumeration^ element
)
static member GetLiterals :
element:DomainEnumeration -> LinkedElementCollection<EnumerationLiteral>
public static function GetLiterals(
element : DomainEnumeration
) : LinkedElementCollection<EnumerationLiteral>
Parameters
Return Value
Type: Microsoft.VisualStudio.Modeling.LinkedElementCollection<EnumerationLiteral>
.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.