Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the method modifier (virtual, override, etc.) in generated code with the given parameters.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Declaration
Public Shared Function GetMethodModifier ( _
isRootClass As Boolean, _
isSealed As Boolean _
) As String
public static string GetMethodModifier(
bool isRootClass,
bool isSealed
)
public:
static String^ GetMethodModifier(
bool isRootClass,
bool isSealed
)
static member GetMethodModifier :
isRootClass:bool *
isSealed:bool -> string
public static function GetMethodModifier(
isRootClass : boolean,
isSealed : boolean
) : String
Parameters
- isRootClass
Type: System.Boolean
Whether the class containing the method is a root class.
- isSealed
Type: System.Boolean
Whether the class containing the method is sealed.
Return Value
Type: System.String
The correct method modifier that will be used in code generation.
.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.