NamespacePrefixAttribute Class

Namespace: Artemkv.Transformation.XmlToObject

The attribute to provide the namespace used when serializing/deserializing the class.

Syntax

[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
public class NamespacePrefixAttribute : Attribute

Constructors

NamespacePrefixAttribute

Summary

Initializes a new instance of NamespacePrefixAttribute class.

	public NamespacePrefixAttribute(string prefix, string uri)

Parameters:

prefix
The prefix to associate with the namespace being added.
uri
The namespace to add.
.

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

Comments

No comments yet.