XmlSchemaValidationException.SetSourceObject(Object) Method

Definition

Sets the XML node that causes the error.

protected public:
 void SetSourceObject(System::Object ^ sourceObject);
protected internal void SetSourceObject (object sourceObject);
member this.SetSourceObject : obj -> unit
Protected Friend Sub SetSourceObject (sourceObject As Object)

Parameters

sourceObject
Object

The source object.

Remarks

Use the Source property instead.

Applies to