Share via


ODataMetadataController.GetMetadata Method

Generates the OData $metadata document.

Namespace:  System.Web.Http.OData
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

'Declaration
Public Function GetMetadata As IEdmModel
'Usage
Dim instance As ODataMetadataController 
Dim returnValue As IEdmModel 

returnValue = instance.GetMetadata()
public IEdmModel GetMetadata()
public:
IEdmModel^ GetMetadata()
member GetMetadata : unit -> IEdmModel
public function GetMetadata() : IEdmModel

Return Value

Type: IEdmModel
The IEdmModel representing $metadata.

See Also

Reference

ODataMetadataController Class

System.Web.Http.OData Namespace