Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Invoke all the validation methods of a set of elements, including their
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaration
Public Overrides Function ValidateCustom ( _
subjects As IEnumerable(Of ModelElement), _
ParamArray customCategories As String() _
) As Boolean
public override bool ValidateCustom(
IEnumerable<ModelElement> subjects,
params string[] customCategories
)
public:
virtual bool ValidateCustom(
IEnumerable<ModelElement^>^ subjects,
... array<String^>^ customCategories
) override
abstract ValidateCustom :
subjects:IEnumerable<ModelElement> *
customCategories:string[] -> bool
override ValidateCustom :
subjects:IEnumerable<ModelElement> *
customCategories:string[] -> bool
public override function ValidateCustom(
subjects : IEnumerable<ModelElement>,
... customCategories : String[]
) : boolean
Parameters
- subjects
Type: System.Collections.Generic.IEnumerable<ModelElement>
The list of elements to validate.
- customCategories
Type: array<System.String[]
A list of strings. A validation method will be executed if it has a custom validation string that equals one of the specified strings.
Return Value
Type: System.Boolean
Remarks
Use this method to invoke validation methods for which you have specified a custom category in the ValidationMethod attribute. Each custom category is identified by a string.
.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.