XmlSchemas.AddReference(XmlSchema) 方法

定义

添加一个 XmlSchema 对象,该对象表示对集合的程序集引用。Adds an XmlSchema object that represents an assembly reference to the collection.

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 void AddReference(System::Xml::Schema::XmlSchema ^ schema);
public void AddReference (System.Xml.Schema.XmlSchema schema);
member this.AddReference : System.Xml.Schema.XmlSchema -> unit
Public Sub AddReference (schema As XmlSchema)

参数

schema
XmlSchema

要添加的 XmlSchemaThe XmlSchema to add.

适用于