ThinkGeo.MapSuite.WindowsPhoneCore.ShapeValidationResult
Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.
<!– Structure –>
This structure represents the result of the validation method performed on a shape.
This is used to determine if an validation rule was broken for a shape. This structure also returns the description of the violation.
Inheritance Hierarchy
Members Summary
Public Constructors
Name | Parameters | DeclaringType | Summary |
ShapeValidationResult | Boolean, String | | This constructor allows you to set the IsValid and ValidationErrors properties. |
Protected Constructors
Name | Parameters | DeclaringType | Summary |
Public Methods
Name | Parameters | DeclaringType | Summary |
Equals | Object | Object(overriden) | This method is an override of the Equals functionality. |
GetHashCode | | Object(overriden) | This method is an override of the GetHashCode functionality. |
GetType | | Object | |
ToString | | Object(overriden) | |
Protected Methods
Public Properties
Name | Return | DeclaringType | Summary |
IsValid | Boolean | | This property describes whether the object has passed its validation method. |
ValidationErrors | String | | This property describes the list of errors if the object did not pass its validation method. |
Protected Properties
Name | Return | DeclaringType | Summary |
Public Events
Name | Event Arguments | DeclaringType | Summary |
Public Constructors
ShapeValidationResult(Boolean, String)
This constructor allows you to set the IsValid and ValidationErrors properties.
Parameters
Name | Type | Description |
isValid | Boolean<!– System.Boolean –> | This parameter describes whether the object has passed its validation method. |
validationErrors | String<!– System.String –> | This parameter describes the list of errors if the object did not pass its validation method. The errors are separated by semicolons. |
Go Back
Protected Constructors
Public Methods
Equals(Object)
This method is an override of the Equals functionality.
Return Value
Return Type | Description |
Boolean<!– System.Boolean –> | |
Parameters
Name | Type | Description |
obj | Object<!– System.Object –> | |
<!– System.Object(overriden) –>
Go Back
GetHashCode()
This method is an override of the GetHashCode functionality.
Return Value
Return Type | Description |
Int32<!– System.Int32 –> | |
Parameters
<!– System.Object(overriden) –>
Go Back
GetType()
Return Value
Return Type | Description |
Type<!– System.Type –> | |
Parameters
ToString()
Return Value
Return Type | Description |
String<!– System.String –> | |
Parameters
<!– System.Object(overriden) –>
Go Back
Protected Methods
Finalize()
Return Value
Return Type | Description |
Void<!– System.Void –> | |
Parameters
MemberwiseClone()
Return Value
Return Type | Description |
Object<!– System.Object –> | |
Parameters
Public Properties
IsValid
This property describes whether the object has passed its validation method.
Return Value
Return Type |
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.ShapeValidationResult –>
Go Back
ValidationErrors
This property describes the list of errors if the object did not pass its validation method.
If there are multiple errors, they will be separated by semicolons. If the object passed its validations, then this string will be empty.
Return Value
Return Type |
String<!– System.String –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.ShapeValidationResult –>
Go Back
Protected Properties
Public Events