EditorHasValidation.GetLinks Method
Get any EditorHasValidation links between a given Editor and a Validation.
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 GetLinks ( _
source As Editor, _
target As Validation _
) As ReadOnlyCollection(Of EditorHasValidation)
public static ReadOnlyCollection<EditorHasValidation> GetLinks(
Editor source,
Validation target
)
public:
static ReadOnlyCollection<EditorHasValidation^>^ GetLinks(
Editor^ source,
Validation^ target
)
static member GetLinks :
source:Editor *
target:Validation -> ReadOnlyCollection<EditorHasValidation>
public static function GetLinks(
source : Editor,
target : Validation
) : ReadOnlyCollection<EditorHasValidation>
Parameters
- source
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Editor
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<EditorHasValidation>
.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.