XmlMappingAccess Enumeration

 

This API supports the product 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 (in System.Xml.dll)

[FlagsAttribute]
public enum XmlMappingAccess

Member nameDescription
None

This API supports the product infrastructure and is not intended to be used directly from your code. Both read and write methods are generated.

Read

This API supports the product infrastructure and is not intended to be used directly from your code. Read methods are generated.

Write

This API supports the product infrastructure and is not intended to be used directly from your code. Write 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.

.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: