Свойство | Type | Description | |
---|---|---|---|
CanSerialize | bool | ||
Deserialize | object | ||
DetermineValue | object | ||
GetMemberInfo | IEnumerable |
||
GetMemberValue | object | ||
GetXmlSafeElementName | string | ||
InitializeObject | object | ||
PopulateSerializationInfo | void | ||
Serialize | void | ||
WriteAttributes | void | ||
WriteValueElement | void | ||
WriteValueElement | void |
Méthode | Description | |
---|---|---|
Deserialize ( [ serializationStream ) : object |
Deserializes an object from the passed stream.
|
|
Serialize ( Stream serializationStream, object objectToSerialize ) : void |
Serializes the specified object to the provided Stream.
|
|
XmlFormatter ( ) : System |
Initializes a new instance of the XmlFormatter class. The serialization context is set be a
|
|
XmlFormatter ( ISurrogateSelector surrogateSelector, |
Initializes a new instance of the XmlFormatter class.
|
Méthode | Description | |
---|---|---|
CanSerialize ( [ member ) : bool |
Determines whether the passed member is public, not static, and writable.
|
|
Deserialize ( [ serializationStream, |
Deserializes an object from the given Stream for the given Type.
|
|
DetermineValue ( [ reader, [ converter, [ objectType ) : object |
Determines the value of an object.
|
|
GetMemberInfo ( object objectToSerialize, [ objectToSerializeType, [ converter ) : IEnumerable |
||
GetMemberValue ( [ item, [ member ) : object |
Gets the value of a member from the provided object.
|
|
GetXmlSafeElementName ( [ name ) : string | ||
InitializeObject ( [ reader, [ converter, |
Reads an object from the XML and initializes it.
|
|
PopulateSerializationInfo ( [ reader, [ converter, [ info ) : void |
Populates the serialized members in the System.Runtime.Serialization.SerializationInfo.
|
|
Serialize ( [ writer, [ converter, [ elementName, [ objectToSerialize, [ objectType ) : void |
Serializes the object using the passed System.Xml.XmlTextWriter.
|
|
WriteAttributes ( [ writer, [ objectType, bool includeArrayAttribute ) : void |
Writes the Type and includeArrayAttribute attributes to the element
|
|
WriteValueElement ( [ writer, CustomSerializationEntry entry ) : void |
Writes a simple element to the writer. The name of the element is the name of the object Type.
|
|
WriteValueElement ( [ tagName, [ writer, CustomSerializationEntry entry ) : void |
Writes a simple element to the writer.
|
public Deserialize ( [ serializationStream ) : object | ||
serializationStream | [ | The stream to deserialize the object from. |
Résultat | object |
public Serialize ( Stream serializationStream, object objectToSerialize ) : void | ||
serializationStream | Stream | The stream to serialize to. |
objectToSerialize | object | The object to serialize. |
Résultat | void |
public XmlFormatter ( ISurrogateSelector surrogateSelector, |
||
surrogateSelector | ISurrogateSelector |
/// |
streamingContext | The streaming context. | |
Résultat | System |