Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Validates the specified model element using validation methods in the specified custom validation categories.
Namespace: Microsoft.VisualStudio.Modeling.Validation
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
Syntax
'Declaration
Public Function ValidateCustom ( _
subject As ModelElement, _
ParamArray customCategories As String() _
) As Boolean
public bool ValidateCustom(
ModelElement subject,
params string[] customCategories
)
public:
bool ValidateCustom(
ModelElement^ subject,
... array<String^>^ customCategories
)
member ValidateCustom :
subject:ModelElement *
customCategories:string[] -> bool
public function ValidateCustom(
subject : ModelElement,
... customCategories : String[]
) : boolean
Parameters
subject
Type: Microsoft.VisualStudio.Modeling.ModelElementThe model element to validate.
customCategories
Type: array<String[]Specifies which validation methods will be applied. Every validation method that has a ValidationMethod attribute that specifies one of these custom categories will be applied to each model element in the store.
Return Value
Type: Boolean
.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.