HelpPageSampleGenerator.GetSampleObject Method (Type)

 

Gets the sample object that will be serialized by the formatters. First, it will look at the SampleObjects. If no sample object is found, it will try to create one using ObjectGenerator.

Namespace:   Microsoft.WindowsAzure.Mobile.Service.Description.Samples
Assembly:  Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)

public virtual object GetSampleObject(
	Type type
)

Parameters

type
Type: System.Type

The type.

Return Value

Type: System.Object

The sample object.

Return to top
Show: