XmlSchemaValidationException.SetSourceObject(Object) 方法

定义

设置导致此错误的 XML 节点。

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

参数

sourceObject
Object

源对象。

注解

改用 Source 属性。

适用于