SqlXml 類別
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示存放在伺服器或從伺服器擷取的 XML 資料。
public ref class SqlXml sealed : System::Data::SqlTypes::INullable, System::Xml::Serialization::IXmlSerializable
public ref class SqlXml sealed : System::Data::SqlTypes::INullable
C#
public sealed class SqlXml : System.Data.SqlTypes.INullable, System.Xml.Serialization.IXmlSerializable
C#
public sealed class SqlXml : System.Data.SqlTypes.INullable
C#
[System.Serializable]
public sealed class SqlXml : System.Data.SqlTypes.INullable, System.Xml.Serialization.IXmlSerializable
type SqlXml = class
interface INullable
interface IXmlSerializable
type SqlXml = class
interface INullable
[<System.Serializable>]
type SqlXml = class
interface INullable
interface IXmlSerializable
Public NotInheritable Class SqlXml
Implements INullable, IXmlSerializable
Public NotInheritable Class SqlXml
Implements INullable
- 繼承
-
SqlXml
- 屬性
- 實作
這個類別包含衍生類型的 XmlReader實例,並藉由實 INullable 作 介面來新增 SQL 特定功能,例如資料庫樣式 Null 語意。 當您使用 SqlXml 時,您指派給 SqlXml 實例的 XML 值必須由 取 XmlReader用。 對於 unicode 數據,Byte Order Mark (BOM
) 必須存在於數據流中。
Sql |
建立新的 SqlXml 執行個體。 |
Sql |
|
Sql |
Is |
指出這個執行個體是否表示 null 的 SqlXml 值。 |
Null |
表示 SqlXml 型別的 null 執行個體。 |
Value |
取得這個 SqlXml 執行個體的 XML 內容字串表示。 |
Create |
|
Equals(Object) |
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
Get |
做為預設雜湊函式。 (繼承來源 Object) |
Get |
取得目前執行個體的 Type。 (繼承來源 Object) |
Get |
傳回指定之 XmlSchemaSet 的 XML 結構描述定義語言 (XSD)。 |
Memberwise |
建立目前 Object 的淺層複製。 (繼承來源 Object) |
To |
傳回代表目前物件的字串。 (繼承來源 Object) |
IXml |
如需這個成員的說明,請參閱 GetSchema()。 |
IXml |
如需這個成員的說明,請參閱 ReadXml(XmlReader)。 |
IXml |
如需這個成員的說明,請參閱 WriteXml(XmlWriter)。 |
產品 | 版本 |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |