Partager 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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

'Déclaration
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: System.String

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace