Class XmlMapping
Represents the data binding for Content controls.
Inheritance
System.Object
XmlMapping
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.DocIO.DLS
Assembly: Syncfusion.DocIO.Base.dll
Syntax
public class XmlMapping
Properties
CustomXmlNode
Returns a CustomXMLNode object that represents the custom XML node in the data store to which the content control in the document maps.
Declaration
public CustomXMLNode CustomXmlNode { get; }
Property Value
Type | Description |
---|---|
CustomXMLNode |
CustomXmlPart
Returns a CustomXMLPart object that represents the custom XML part to which the content control in the document maps.
Declaration
public CustomXMLPart CustomXmlPart { get; }
Property Value
Type | Description |
---|---|
CustomXMLPart |
IsMapped
Returns a Boolean that represents whether the content control in the document is mapped to an XML node in the document�s XML data. Read-only.
Declaration
public bool IsMapped { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
PrefixMapping
�Returns a string that represents the prefix mappings used to evaluate the XPath for the current XML mapping. Read-only.
Declaration
public string PrefixMapping { get; }
Property Value
Type | Description |
---|---|
System.String |
XPath
Declaration
public string XPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Delete()
Deletes the XML mapping from the parent content control.
Declaration
public void Delete()
SetMapping(String, String, CustomXMLPart)
Declaration
public void SetMapping(string xPath, string prefixMapping, CustomXMLPart customXmlPart)
Parameters
Type | Name | Description |
---|---|---|
System.String | xPath | |
System.String | prefixMapping | |
CustomXMLPart | customXmlPart |
SetMappingByNode(CustomXMLNode)
Declaration
public void SetMappingByNode(CustomXMLNode customXmlNode)
Parameters
Type | Name | Description |
---|---|---|
CustomXMLNode | customXmlNode |