EditorHasValidation Constructor (Editor, Validation)
Constructor Creates a EditorHasValidation link in the same Partition as the given Editor
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 Sub New ( _
source As Editor, _
target As Validation _
)
public EditorHasValidation(
Editor source,
Validation target
)
public:
EditorHasValidation(
Editor^ source,
Validation^ target
)
new :
source:Editor *
target:Validation -> EditorHasValidation
public function EditorHasValidation(
source : Editor,
target : Validation
)
Parameters
- source
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Editor
Editor to use as the source of the relationship.
- target
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Validation
Validation to use as the target of the relationship.
.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.