XmlMapping Class
Specifies the mapping between a content control and a custom XML part or a document property.
- Inheritance:
- System.ObjectXmlMapping
Constructors
XmlMapping(DocumentModel)
Initializes a new instance of the XmlMapping class.
Parameters
document
- DocumentModel
The owner document.
Properties
BuiltInDocumentProperty
Gets the built-in document property that is mapped to the content control.
public BuiltInDocumentProperty? BuiltInDocumentProperty { get; }
Public ReadOnly Property BuiltInDocumentProperty As BuiltInDocumentProperty?
Property Value
- System.Nullable<BuiltInDocumentProperty>
The built-in document property that is mapped to the content control. Null if the content control is not mapped with any built-in document property.
CustomXmlPart
Gets or sets the custom XML part that will be used to evaluate the given XPath expression.
public CustomXmlPart CustomXmlPart { get; set; }
Public Property CustomXmlPart As CustomXmlPart
Property Value
The custom XML part that will be used to evaluate the given XPath expression.
PrefixMappings
Gets or sets a value that specifies the set of prefix mappings that will be used to interpret the XPath expression.
Property Value
- System.String
The value that specifies the set of prefix mappings that will be used to interpret the XPath expression.
XPath
Gets or sets the XPath expression that will be evaluated to find the custom XML node mapped to the content control.
Property Value
- System.String
The XPath expression that will be evaluated to find the custom XML node mapped to the content control.