XmlHelper.EnumerableOfObjectToXml<T>, méthode
Espace de noms : Microsoft.TeamFoundation.Common
Assembly : Microsoft.TeamFoundation.Common (dans Microsoft.TeamFoundation.Common.dll)
Syntaxe
'Déclaration
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
)
Paramètres de type
- T
Paramètres
- writer
Type : System.Xml.XmlWriter
- enumerable
Type : System.Collections.Generic.IEnumerable<T>
- arrayName
Type : System.String
- arrayElementName
Type : System.String
- inline
Type : System.Boolean
- allowEmptyArrays
Type : System.Boolean
- objectToXmlElement
Type : System.Action<XmlWriter, String, T>
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.