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
'Declaração
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
- modifier
Type: Microsoft.VisualStudio.Modeling.DslDefinition.AccessModifier
Return Value
Type: System.String
.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.