EditorHasValidation.GetValidation Method
Gets Validation.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)
Syntax
'Declaration
Public Shared Function GetValidation ( _
element As Editor _
) As Validation
public static Validation GetValidation(
Editor element
)
public:
static Validation^ GetValidation(
Editor^ element
)
static member GetValidation :
element:Editor -> Validation
public static function GetValidation(
element : Editor
) : Validation
Parameters
- element
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Editor
Return Value
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Validation
.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.