Export (0) Print
Expand All

XmlMappingAccess Enumeration

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Specifies whether a mapping is read, write, or both.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  System.Xml.Serialization
Assembly:  System.Xml.Serialization (in System.Xml.Serialization.dll)

[FlagsAttribute]
public enum XmlMappingAccess

Member nameDescription
Supported by Silverlight for Windows PhoneSupported by Xbox 360NoneBoth read and write methods are generated.
Supported by Silverlight for Windows PhoneSupported by Xbox 360ReadRead methods are generated.
Supported by Silverlight for Windows PhoneSupported by Xbox 360WriteWrite methods are generated.

This enumeration is used by the ImportMembersMapping when generating code for serialization and deserialization methods. The value specifies whether the schema importer generates write methods for mappings with write access, and read methods for mappings with read access. This minimizes the generation of serialization code.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft