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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)
Syntax
'Declaration
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: 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.