共用方式為


XmlHelper.ArrayOfObjectFromXml<T> 方法 (IServiceProvider, XmlReader, String, Boolean, Func<IServiceProvider, XmlReader, T>)

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

語法

'宣告
Public Shared Function ArrayOfObjectFromXml(Of T) ( _
    serviceProvider As IServiceProvider, _
    reader As XmlReader, _
    arrayElementName As String, _
    inline As Boolean, _
    objectFromXmlElement As Func(Of IServiceProvider, XmlReader, T) _
) As T()
public static T[] ArrayOfObjectFromXml<T>(
    IServiceProvider serviceProvider,
    XmlReader reader,
    string arrayElementName,
    bool inline,
    Func<IServiceProvider, XmlReader, T> objectFromXmlElement
)

型別參數

  • T

參數

傳回值

型別:array<T[]

.NET Framework 安全性

請參閱

參考

XmlHelper 類別

ArrayOfObjectFromXml 多載

Microsoft.TeamFoundation.Common 命名空間