HelpPageSampleGenerator::WriteSampleObjectUsingFormatter Method (MediaTypeFormatter^, Object^, Type^, MediaTypeHeaderValue^)
Writes the sample object using formatter.
Assembly: Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)
public: virtual Object^ WriteSampleObjectUsingFormatter( MediaTypeFormatter^ formatter, Object^ value, Type^ type, MediaTypeHeaderValue^ mediaType )
Parameters
- formatter
-
Type:
System.Net.Http.Formatting::MediaTypeFormatter^
The formatter.
- value
-
Type:
System::Object^
The value.
- type
-
Type:
System::Type^
The type.
- mediaType
-
Type:
System.Net.Http.Headers::MediaTypeHeaderValue^
Type of the media.
Return Value
Type: System::Object^
Show: