Validator.ValidateProperties(ValidationManager, Object) Methode

Definition

Hilfsmethode zum automatischen Überprüfen der eigenschaften bestimmter Objekte.

public:
 virtual System::Workflow::ComponentModel::Compiler::ValidationErrorCollection ^ ValidateProperties(System::Workflow::ComponentModel::Compiler::ValidationManager ^ manager, System::Object ^ obj);
public virtual System.Workflow.ComponentModel.Compiler.ValidationErrorCollection ValidateProperties(System.Workflow.ComponentModel.Compiler.ValidationManager manager, object obj);
abstract member ValidateProperties : System.Workflow.ComponentModel.Compiler.ValidationManager * obj -> System.Workflow.ComponentModel.Compiler.ValidationErrorCollection
override this.ValidateProperties : System.Workflow.ComponentModel.Compiler.ValidationManager * obj -> System.Workflow.ComponentModel.Compiler.ValidationErrorCollection
Public Overridable Function ValidateProperties (manager As ValidationManager, obj As Object) As ValidationErrorCollection

Parameter

manager
ValidationManager

Der Überprüfungs-Manager, der mit der Überprüfung verknüpft ist.

obj
Object

Der Activity zu überprüfende

Gibt zurück

A ValidationErrorCollection that contains the validation errors result from this operation.

Ausnahmen

manager ist ein Nullverweis (Nothing in Visual Basic).

-oder-

obj ist ein Nullverweis (Nothing).

Gilt für: