編輯

共用方式為


XmlSchema Interface

Definition

Represents an XML schema contained by an XmlMap object.

public interface class XmlSchema
[System.Runtime.InteropServices.Guid("00024479-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface XmlSchema
Public Interface XmlSchema
Attributes

Remarks

XML features, except for saving files in the XML Spreadsheet format, are available only in Microsoft Office Professional Edition 2003 and Microsoft Office Excel 2003.

Use the Item[Object] property to return an XmlSchema object from the XmlSchemas collection.

Use the Namespace property to return the target namespace for a schema.

Use the XML property to return the XML contents of a schema.

Properties

Application

Returns an Application object that represents the Microsoft Excel application. Read-only.

Creator

Returns a 32-bit integer that indicates the application in which this object was created. If the object was created in Microsoft Excel, this property returns the string XCEL, which is equivalent to the hexadecimal number 5843454C. Read-only XlCreator.

Name

Returns the friendly name used to identify an XML schema in an XmlMap object. Read-only String.

Namespace

Returns an XmlNamespace object that represents the target namespace for the specified schema. Read-only.

Parent

Returns the parent object for the specified object. Read-only.

XML

Returns a String representing the content of the specified schema.

Applies to