Compartilhar via


CodeGenerationUtilities.GetAccessModifier(AccessModifier) Method

Definition

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

public:
 static System::String ^ GetAccessModifier(Microsoft::VisualStudio::Modeling::DslDefinition::AccessModifier modifier);
public static string GetAccessModifier (Microsoft.VisualStudio.Modeling.DslDefinition.AccessModifier modifier);
static member GetAccessModifier : Microsoft.VisualStudio.Modeling.DslDefinition.AccessModifier -> string
Public Shared Function GetAccessModifier (modifier As AccessModifier) As String

Parameters

modifier
AccessModifier

Returns

Applies to