JsonUtility.GetPropertiesToSerializeForType - Méthode
Remarque : cette API est désormais obsolète.
Obtenir les propriétés requises pour sérialiser un type particulier.
Espace de noms : Microsoft.SharePoint.JsonUtilities
Assembly : Microsoft.SharePoint (dans Microsoft.SharePoint.dll)
Syntaxe
'Déclaration
<ObsoleteAttribute("GetPropertiesToSerializeForType has been deprecated.")> _
Public Shared Function GetPropertiesToSerializeForType ( _
t As Type _
) As IEnumerable(Of PropertyInfo)
'Utilisation
Dim t As Type
Dim returnValue As IEnumerable(Of PropertyInfo)
returnValue = JsonUtility.GetPropertiesToSerializeForType(t)
[ObsoleteAttribute("GetPropertiesToSerializeForType has been deprecated.")]
public static IEnumerable<PropertyInfo> GetPropertiesToSerializeForType(
Type t
)
Paramètres
- t
Type : System.Type
Valeur renvoyée
Type : System.Collections.Generic.IEnumerable<PropertyInfo>
Cette propriété renvoie IEnumerable<T>.