C# 클래스 Xml.Net.Serializers.ListSerializer

파일 보기 프로젝트 열기: hughbe/xml.net 1 사용 예제들

공개 메소드들

메소드 설명
Deserialize ( Type type, System.Xml.Linq.XElement parent, XmlConvertOptions options ) : object

Deserializes the XElement to the list (e.g. List, Array of a specified type using options.

Serialize ( object value, string name, string elementNames, XmlConvertOptions options ) : System.Xml.Linq.XElement

Serializes a list (e.g. List, Array etc.) into a XElement using options.

메소드 상세

Deserialize() 공개 정적인 메소드

Deserializes the XElement to the list (e.g. List, Array of a specified type using options.
public static Deserialize ( Type type, System.Xml.Linq.XElement parent, XmlConvertOptions options ) : object
type System.Type The type of the list to deserialize.
parent System.Xml.Linq.XElement
options XmlConvertOptions Indicates how the output is deserialized.
리턴 object

Serialize() 공개 정적인 메소드

Serializes a list (e.g. List, Array etc.) into a XElement using options.
public static Serialize ( object value, string name, string elementNames, XmlConvertOptions options ) : System.Xml.Linq.XElement
value object The list to serialize.
name string The name of the list to serialize.
elementNames string The custom name of collection elements.
options XmlConvertOptions Indicates how the output is formatted or serialized.
리턴 System.Xml.Linq.XElement