SerializationInfo.GetEnumerator Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a SerializationInfoEnumerator used to iterate through the name-value pairs in the SerializationInfo store.
public:
System::Runtime::Serialization::SerializationInfoEnumerator ^ GetEnumerator();
public System.Runtime.Serialization.SerializationInfoEnumerator GetEnumerator ();
member this.GetEnumerator : unit -> System.Runtime.Serialization.SerializationInfoEnumerator
Public Function GetEnumerator () As SerializationInfoEnumerator
Returns
A SerializationInfoEnumerator for parsing the name-value pairs contained in the SerializationInfo store.
Remarks
This function will most often be used by formatters that need to enumerate through the values before writing them out to the stream.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.