Edit

Bagikan melalui


CustomXMLValidationError Interface

Definition

Represents a single validation error in a CustomXMLValidationErrors collection.

public interface class CustomXMLValidationError : Microsoft::Office::Core::_IMsoDispObj
[System.Runtime.InteropServices.Guid("000CDB0E-0000-0000-C000-000000000046")]
public interface CustomXMLValidationError : Microsoft.Office.Core._IMsoDispObj
[<System.Runtime.InteropServices.Guid("000CDB0E-0000-0000-C000-000000000046")>]
type CustomXMLValidationError = interface
    interface _IMsoDispObj
Public Interface CustomXMLValidationError
Implements _IMsoDispObj
Attributes
Implements

Remarks

Validation errors can either be triggered when validating an operation against the schema, such as when adding a node, or triggered by the user when some condition is not met. For example, if a start date is later than an end date.

Properties

Application

Gets an Application object that represents the container application for the CustomXMLValidationError object. Read-only.

Creator

Gets a 32-bit integer that indicates the application in which the CustomXMLValidationError object was created. Read-only.

ErrorCode

Gets a number representing a validation error in a CustomXMLValidationError object. Read-only.

Name

Gets the name of an error in a CustomXMLValidationError object. If no errors exist, the property returns Nothing. Read-only.

Node

Gets a node in a CustomXMLValidationError object, if any exist. If no nodes exist, the property returns Nothing. Read-only.

Parent

Gets the parent object for the CustomXMLValidationError object. Read-only.

Text

Gets the text in the CustomXMLValidationError object. Read-only.

Type

Gets the type of error generated from the CustomXMLValidationError object. Read-only.

Methods

Delete()

Deletes the CustomXMLValidationError object representing a data validation error.

Applies to