XmlSerializationReader.CollectionFixup 類別

定義

包含 XmlSerializationCollectionFixupCallback 委派 (Delegate) 執行個體,並加上方法的輸入,同時提供方法的參數。Holds an XmlSerializationCollectionFixupCallback delegate instance, plus the method's inputs; also supplies the method's parameters.

protected: ref class XmlSerializationReader::CollectionFixup
protected class XmlSerializationReader.CollectionFixup
Protected Class XmlSerializationReader.CollectionFixup
繼承
XmlSerializationReader.CollectionFixup

備註

在初始化期間,.NET Framework 的 XML 序列化基礎結構會動態產生並編譯衍生自 XmlSerializationReader 類別之還原序列化的暫存類別。During initialization, the .NET Framework XML serialization infrastructure dynamically generates and compiles a temporary class for deserialization derived from the XmlSerializationReader class. 在此過程中,基礎結構會產生可執行 XmlSerializationCollectionFixupCallback 委派的方法。During this process, the infrastructure generates methods that implement the XmlSerializationCollectionFixupCallback delegate. 此外,它會將 XmlSerializationReader.CollectionFixup 類別物件具現化,以儲存修正方法及其輸入。Additionally, it instantiates XmlSerializationReader.CollectionFixup class objects to store the fix-up methods along with their inputs. 基礎結構會針對 SOAP 編碼的陣列或 SOAP 編碼的 multireferenced 元素執行,其資料類型(不論是哪一種情況)都會對應到 .NET Framework 集合或列舉。The infrastructure does so for SOAP-encoded arrays or SOAP-encoded, multireferenced elements whose data types, in either case, map to .NET Framework collections or enumerations. 然後,視需要在還原序列化期間叫用方法,以填入陣列專案或 multireferenced 物件。Then, as necessary, the methods are invoked during deserialization to fill in array items or multireferenced objects.

請勿直接具現化 XmlSerializationCollectionFixupCallbackXmlSerializationReader.CollectionFixupDo not directly instantiate XmlSerializationCollectionFixupCallback or XmlSerializationReader.CollectionFixup.

Soap 1.1 規格的第5節會說明 SOAP 編碼。SOAP encoding is described in Section 5 of the SOAP 1.1 specification.

建構函式

XmlSerializationReader.CollectionFixup(Object, XmlSerializationCollectionFixupCallback, Object)

使用回呼方法的參數,初始化 XmlSerializationReader.CollectionFixup 類別的新執行個體。Initializes a new instance of the XmlSerializationReader.CollectionFixup class with parameters for a callback method.

屬性

Callback

取得具現化 XmlSerializationCollectionFixupCallback 委派的回呼方法。Gets the callback method that instantiates the XmlSerializationCollectionFixupCallback delegate.

Collection

取得回呼方法的 object collectionGets the object collection for the callback method.

CollectionItems

取得回呼方法會將集合複製到其中的陣列。Gets the array into which the callback method copies a collection.

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetHashCode()

作為預設雜湊函數。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於

另請參閱