MappingXPathRelativeToParentAttribute Class

Namespace: Artemkv.Transformation.XmlToObject

The attribute to provide the mapping information for serializing/deserializing the object as a part of outer object.

Syntax

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

Constructors

MappingXPathRelativeToParentAttribute

Summary

Initializes a new instance of MappingXPathRelativeToParentAttribute class.

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

Parameters:

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

Last edited Nov 17, 2012 at 9:58 PM by artemkv, version 1

Comments

No comments yet.