共用方式為


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 屬性。

適用於