Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets an XmlMap that represents the schema map used for the list.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)
Syntax
'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property XmlMap As XmlMap
'Usage
Dim instance As ListObject
Dim value As XmlMap
value = instance.XmlMap
[BrowsableAttribute(false)]
public XmlMap XmlMap { get; }
[BrowsableAttribute(false)]
public:
property XmlMap^ XmlMap {
XmlMap^ get ();
}
public function get XmlMap () : XmlMap
Property Value
Type: XmlMap
An XmlMap that represents the schema map used for the list.
Examples
The following code example displays the name of the XmlMap that is mapped to a ListObject. This example assumes that there is a ListObject named customerListObject on the current worksheet, and that the ListObject uses a schema map.
This example is for a document-level customization.
Private Sub ListObject_XmlMap()
Dim customerXmlMap As Excel.XmlMap = _
customerListObject.XmlMap
MessageBox.Show("The current XmlMap for customerListObject is " & _
customerXmlMap.Name.ToString() & ".")
End Sub
private void ListObject_XmlMap()
{
Excel.XmlMap customerXmlMap = customerListObject.XmlMap;
MessageBox.Show("The current XmlMap for customerListObject is " +
customerXmlMap.Name.ToString() + ".");
}
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.