XmlHelper.ArrayOfObjectToXml<T>, méthode
Espace de noms : Microsoft.TeamFoundation.Common
Assembly : Microsoft.TeamFoundation.Common (dans Microsoft.TeamFoundation.Common.dll)
Syntaxe
'Déclaration
Public Shared Sub ArrayOfObjectToXml(Of T) ( _
writer As XmlWriter, _
array As T(), _
arrayName As String, _
arrayElementName As String, _
inline As Boolean, _
allowEmptyArrays As Boolean, _
objectToXmlElement As Action(Of XmlWriter, String, T) _
)
public static void ArrayOfObjectToXml<T>(
XmlWriter writer,
T[] array,
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
- array
Type : array<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.