ValidationContext Methods

The ValidationContext type exposes the following members.

  NameDescription
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetElementByName Gets a ValidationMessageCollection class instance based on the name of an element.
Public method GetElementList Gets the name of all the elements in the validation message collection.
Public method GetHashCode (Inherited from Object.)
Public method GetParentElementById Gets a ValidationMessageCollection class instance based on the ID of a parent element.
Public method GetParentElementByName Gets a ValidationMessageCollection class instance based on the name of a parent element.
Public method GetParentElementIdList Gets the IDs of all parent elements in the validation message collection.
Public method GetParentElementList Gets the name of all parent elements in the validation message collection.
Public method GetParentPropertyElementByName
Public method GetPropertyType Gets a ValidationMessageCollection class instance based on the name of a property type.
Public method GetPropertyTypeList Gets the name of all property types in the validation message collection.
Public method GetRoot Gets a ValidationMessageCollection class instance based on the name of a root element that contains an element collection.
Public method GetRootById Gets a ValidationMessageCollection class instance based on the ID of a root element that contains an element collection.
Public method GetRootElement Gets a ValidationMessageCollection class instance based on the name of a root element.
Public method GetRootElementById Gets a ValidationMessageCollection class instance based on the ID of a root element.
Public method GetRootElementIdList Gets the Id's of all root elements in the validation message collection.
Public method GetRootElementList Gets the name of all root elements in the validation message collection.
Public method GetRootList Gets the name of all root elements that contains an element collection in the validation message collection.
Public method GetType (Inherited from Object.)
Public method LogViolation Adds a message to the validation message collection.
Protected method MemberwiseClone (Inherited from Object.)
Public method PopParentProperty Removes the top ModelElement class instance from the stack.
Public method PushParentProperty Inserts a ModelElement class instance at the top of the stack .
Public method ToString (Inherited from Object.)
Top

Community Additions

ADD
Show: