XmlSchemaExternal 类

定义

一个抽象类。An abstract class. 提供有关所包含架构的信息。Provides information about the included schema.

public ref class XmlSchemaExternal abstract : System::Xml::Schema::XmlSchemaObject
public abstract class XmlSchemaExternal : System.Xml.Schema.XmlSchemaObject
type XmlSchemaExternal = class
    inherit XmlSchemaObject
Public MustInherit Class XmlSchemaExternal
Inherits XmlSchemaObject
继承
XmlSchemaExternal
派生

示例

有关使用此类的示例,请参阅 XmlSchemaImportXmlSchemaIncludeXmlSchemaRedefineSee XmlSchemaImport, XmlSchemaInclude, and XmlSchemaRedefine for an example using this class.

构造函数

XmlSchemaExternal()

初始化 XmlSchemaExternal 类的新实例。Initializes a new instance of the XmlSchemaExternal class.

属性

Id

获取或设置字符串 ID。Gets or sets the string id.

LineNumber

获取或设置 schema 元素引用的文件中的行号。Gets or sets the line number in the file to which the schema element refers.

(继承自 XmlSchemaObject)
LinePosition

获取或设置 schema 元素引用的文件中的行位置。Gets or sets the line position in the file to which the schema element refers.

(继承自 XmlSchemaObject)
Namespaces

获取或设置用于此架构对象的 XmlSerializerNamespacesGets or sets the XmlSerializerNamespaces to use with this schema object.

(继承自 XmlSchemaObject)
Parent

获取或设置此 XmlSchemaObject 的父级。Gets or sets the parent of this XmlSchemaObject.

(继承自 XmlSchemaObject)
Schema

获取或设置所引用架构的 XmlSchemaGets or sets the XmlSchema for the referenced schema.

SchemaLocation

获取或设置架构的唯一资源标识符 (URI) 位置,该位置告诉架构处理器架构所在的物理位置。Gets or sets the Uniform Resource Identifier (URI) location for the schema, which tells the schema processor where the schema physically resides.

SourceUri

获取或设置加载了架构的文件的源位置。Gets or sets the source location for the file that loaded the schema.

(继承自 XmlSchemaObject)
UnhandledAttributes

获取或设置不属于架构目标命名空间的限定属性。Gets or sets the qualified attributes, which do not belong to the schema target namespace.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于