共用方式為


XmlHelper.EnumerableOfObjectToXml<T> 方法

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

語法

'宣告
Public Shared Sub EnumerableOfObjectToXml(Of T) ( _
    writer As XmlWriter, _
    enumerable As IEnumerable(Of T), _
    arrayName As String, _
    arrayElementName As String, _
    inline As Boolean, _
    allowEmptyArrays As Boolean, _
    objectToXmlElement As Action(Of XmlWriter, String, T) _
)
public static void EnumerableOfObjectToXml<T>(
    XmlWriter writer,
    IEnumerable<T> enumerable,
    string arrayName,
    string arrayElementName,
    bool inline,
    bool allowEmptyArrays,
    Action<XmlWriter, string, T> objectToXmlElement
)

型別參數

  • T

參數

.NET Framework 安全性

請參閱

參考

XmlHelper 類別

Microsoft.TeamFoundation.Common 命名空間