共用方式為


CodeGenerationUtilities.GetInheritanceModifier Method

Gets the C# modifier keyword for the given InheritanceModifier enum

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

Syntax

'宣告
Public Shared Function GetInheritanceModifier ( _
    modifier As InheritanceModifier _
) As String
public static string GetInheritanceModifier(
    InheritanceModifier modifier
)
public:
static String^ GetInheritanceModifier(
    InheritanceModifier modifier
)
static member GetInheritanceModifier : 
        modifier:InheritanceModifier -> string 
public static function GetInheritanceModifier(
    modifier : InheritanceModifier
) : String

Parameters

Return Value

Type: System.String

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace