NameValuePair.ToXml 方法 (XmlWriter, String, NameValuePair)
命名空间: Microsoft.TeamFoundation.TestManagement.Client
程序集: Microsoft.TeamFoundation.TestManagement.Client(在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)
语法
声明
Public Shared Sub ToXml ( _
writer As XmlWriter, _
element As String, _
obj As NameValuePair _
)
public static void ToXml(
XmlWriter writer,
string element,
NameValuePair obj
)
public:
static void ToXml(
XmlWriter^ writer,
String^ element,
NameValuePair^ obj
)
static member ToXml :
writer:XmlWriter *
element:string *
obj:NameValuePair -> unit
public static function ToXml(
writer : XmlWriter,
element : String,
obj : NameValuePair
)
参数
- writer
类型:System.Xml.XmlWriter
- element
类型:System.String
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。