Compartilhar via


CodeGenerationUtilities.GetTypeAccessModifier Method

Gets the C# access modifier keyword for the given TypeAccessModifier enum

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 GetTypeAccessModifier ( _
    modifier As TypeAccessModifier _
) As String
public static string GetTypeAccessModifier(
    TypeAccessModifier modifier
)
public:
static String^ GetTypeAccessModifier(
    TypeAccessModifier modifier
)
static member GetTypeAccessModifier : 
        modifier:TypeAccessModifier -> string 
public static function GetTypeAccessModifier(
    modifier : TypeAccessModifier
) : String

Parameters

Return Value

Type: System.String

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace