This project is read-only.

MappingXPathAttribute Class

Namespace: Artemkv.Transformation.XmlToObject

The attribute to provide the mapping information for serializing/deserializing the object.

Syntax

[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
public class MappingXPathAttribute : Attribute

Constructors

MappingXPathAttribute

Summary

Initializes a new instance of MappingXPathAttribute class.

	public MappingXPathAttribute(string elementXPath, string attributeName = "")

Parameters:

elementXPath
The XPath of the element.
attributeName
The attribute name.
.

Last edited Nov 17, 2012 at 10:56 PM by artemkv, version 1

Comments

No comments yet.