HelpPageSampleGenerator.WriteSampleObjectUsingFormatter Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Écrit l’exemple d’objet à l’aide du formateur.
public virtual object WriteSampleObjectUsingFormatter(System.Net.Http.Formatting.MediaTypeFormatter formatter, object value, Type type, System.Net.Http.Headers.MediaTypeHeaderValue mediaType);
abstract member WriteSampleObjectUsingFormatter : System.Net.Http.Formatting.MediaTypeFormatter * obj * Type * System.Net.Http.Headers.MediaTypeHeaderValue -> obj
override this.WriteSampleObjectUsingFormatter : System.Net.Http.Formatting.MediaTypeFormatter * obj * Type * System.Net.Http.Headers.MediaTypeHeaderValue -> obj
Public Overridable Function WriteSampleObjectUsingFormatter (formatter As MediaTypeFormatter, value As Object, type As Type, mediaType As MediaTypeHeaderValue) As Object
Paramètres
- formatter
- System.Net.Http.Formatting.MediaTypeFormatter
Formateur.
- value
- Object
La valeur.
- type
- Type
Type.
- mediaType
- MediaTypeHeaderValue
Type du média.
Retours
S’applique à
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for .NET