共用方式為


IXmlSerializable.WriteXml 方法

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Private Sub WriteXml ( _
    xmlWriter As XmlWriter _
) Implements IXmlSerializable.WriteXml
'用途
Dim instance As TraceEvent
Dim xmlWriter As XmlWriter

CType(instance, IXmlSerializable).WriteXml(xmlWriter)
void IXmlSerializable.WriteXml(
    XmlWriter xmlWriter
)
private:
virtual void WriteXml(
    XmlWriter^ xmlWriter
) sealed = IXmlSerializable::WriteXml
private abstract WriteXml : 
        xmlWriter:XmlWriter -> unit 
private override WriteXml : 
        xmlWriter:XmlWriter -> unit 
JScript 支援明確介面實作的使用,但不支援新介面實作的宣告。

參數

實作

IXmlSerializable. . :: . .WriteXml(XmlWriter)