HelpPageSampleGenerator.WriteSampleObjectUsingFormatter Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Writes the sample object using formatter.
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
Parameters
- formatter
- System.Net.Http.Formatting.MediaTypeFormatter
The formatter.
- value
- Object
The value.
- type
- Type
The type.
- mediaType
- MediaTypeHeaderValue
Type of the media.
Returns
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET