XmlHelper 类
此 API 不兼容 CLS。
继承层次结构
System.Object
Microsoft.TeamFoundation.Common.XmlHelper
命名空间: Microsoft.TeamFoundation.Common
程序集: Microsoft.TeamFoundation.Common(在 Microsoft.TeamFoundation.Common.dll 中)
语法
声明
<CLSCompliantAttribute(False)> _
Public NotInheritable Class XmlHelper
[CLSCompliantAttribute(false)]
public static class XmlHelper
XmlHelper 类型公开以下成员。
属性
页首
方法
|
ArrayOfByteFromXml |
|
|
ArrayOfByteFromXmlAttribute |
|
|
ArrayOfObjectFromXml(XmlReader) |
|
|
ArrayOfObjectFromXml<T>(XmlReader, String, Boolean, Func<XmlReader, T>) |
|
|
ArrayOfObjectFromXml<T>(IServiceProvider, XmlReader, String, Boolean, Func<IServiceProvider, XmlReader, T>) |
|
|
ArrayOfObjectToXml<T> |
|
|
BooleanFromXmlAttribute |
|
|
BooleanFromXmlElement |
|
|
ByteFromXmlAttribute |
|
|
ByteFromXmlElement |
|
|
CharFromXmlAttribute |
|
|
CharFromXmlElement |
|
|
DateFromXmlAttribute |
|
|
DateFromXmlElement |
|
|
DateTimeFromXmlAttribute |
|
|
DateTimeFromXmlElement |
|
|
DateToXmlAttribute |
|
|
DateToXmlElement |
|
|
DoubleFromXmlAttribute |
|
|
DoubleFromXmlElement |
|
|
EnumerableOfObjectToXml<T> |
|
|
EnumFromXmlAttribute<T> |
|
|
EnumFromXmlElement<T> |
|
|
EnumFromXmlText<T> |
|
|
EnumToXmlAttribute<T> |
|
|
EnumToXmlElement<T> |
|
|
EnumToXmlText<T> |
|
|
GetDocument(Stream) |
|
|
GetDocument(String) |
|
|
GetDocumentFromPath |
|
|
GuidFromXmlAttribute |
|
|
GuidFromXmlElement |
|
|
Int16FromXmlAttribute |
|
|
Int16FromXmlElement |
|
|
Int32FromXmlAttribute |
|
|
Int32FromXmlElement |
|
|
Int64FromXmlAttribute |
|
|
Int64FromXmlElement |
|
|
ObjectFromXmlElement |
|
|
ObjectToXmlElement |
|
|
SingleFromXmlAttribute |
|
|
SingleFromXmlElement |
|
|
StringFromXmlAttribute |
|
|
StringFromXmlElement |
|
|
StringFromXmlText |
|
|
StringToXmlAttribute |
|
|
StringToXmlElement |
|
|
StringToXmlText |
|
|
TimeSpanFromXmlAttribute |
|
|
TimeSpanFromXmlElement |
|
|
ToDateOnly |
|
|
ToDateTime |
|
|
ToString(DateTime) |
|
|
ToString(Uri) |
|
|
ToStringDateOnly |
|
|
ToUri |
|
|
ToXml(XmlWriter, String, array<Byte[]) |
|
|
ToXml(XmlWriter, String, array<Object[]) |
|
|
ToXmlAttribute(XmlWriter, String, Boolean) |
|
|
ToXmlAttribute(XmlWriter, String, Byte) |
|
|
ToXmlAttribute(XmlWriter, String, array<Byte[]) |
|
|
ToXmlAttribute(XmlWriter, String, Char) |
|
|
ToXmlAttribute(XmlWriter, String, DateTime) |
|
|
ToXmlAttribute(XmlWriter, String, Double) |
|
|
ToXmlAttribute(XmlWriter, String, Guid) |
|
|
ToXmlAttribute(XmlWriter, String, Int16) |
|
|
ToXmlAttribute(XmlWriter, String, Int32) |
|
|
ToXmlAttribute(XmlWriter, String, Int64) |
|
|
ToXmlAttribute(XmlWriter, String, Single) |
|
|
ToXmlAttribute(XmlWriter, String, String) |
|
|
ToXmlAttribute(XmlWriter, String, TimeSpan) |
|
|
ToXmlAttribute(XmlWriter, String, UInt16) |
|
|
ToXmlAttribute(XmlWriter, String, UInt32) |
|
|
ToXmlAttribute(XmlWriter, String, UInt64) |
|
|
ToXmlAttribute(XmlWriter, String, Uri) |
|
|
ToXmlElement(XmlWriter, String, Boolean) |
|
|
ToXmlElement(XmlWriter, String, Byte) |
|
|
ToXmlElement(XmlWriter, String, Char) |
|
|
ToXmlElement(XmlWriter, String, DateTime) |
|
|
ToXmlElement(XmlWriter, String, Double) |
|
|
ToXmlElement(XmlWriter, String, Guid) |
|
|
ToXmlElement(XmlWriter, String, Int16) |
|
|
ToXmlElement(XmlWriter, String, Int32) |
|
|
ToXmlElement(XmlWriter, String, Int64) |
|
|
ToXmlElement(XmlWriter, String, Single) |
|
|
ToXmlElement(XmlWriter, String, String) |
|
|
ToXmlElement(XmlWriter, String, TimeSpan) |
|
|
ToXmlElement(XmlWriter, String, UInt16) |
|
|
ToXmlElement(XmlWriter, String, UInt32) |
|
|
ToXmlElement(XmlWriter, String, UInt64) |
|
|
ToXmlElement(XmlWriter, String, Uri) |
|
|
ToXmlElement(XmlWriter, String, XmlNode) |
|
|
UInt16FromXmlAttribute |
|
|
UInt16FromXmlElement |
|
|
UInt32FromXmlAttribute |
|
|
UInt32FromXmlElement |
|
|
UInt64FromXmlAttribute |
|
|
UInt64FromXmlElement |
|
|
UriFromXmlAttribute |
|
|
UriFromXmlElement |
|
|
XmlNodeFromXmlElement |
|
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。
请参见
参考
Microsoft.TeamFoundation.Common 命名空间