Share via


CodeGenerationUtilities.GetAccessModifier Method

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

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Syntax

'Declaration
Public Shared Function GetAccessModifier ( _
    modifier As AccessModifier _
) As String
public static string GetAccessModifier(
    AccessModifier modifier
)
public:
static String^ GetAccessModifier(
    AccessModifier modifier
)
static member GetAccessModifier : 
        modifier:AccessModifier -> string
public static function GetAccessModifier(
    modifier : AccessModifier
) : String

Parameters

Return Value

Type: String

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace