Share via


EntitySetLinkBuilderAnnotation.BuildIdLink Method

Constructs the IdLink for a particular EntityInstanceContext and ODataMetadataLevel.

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

Syntax

'Declaration
Public Overridable Function BuildIdLink ( _
    instanceContext As EntityInstanceContext, _
    metadataLevel As ODataMetadataLevel _
) As String
'Usage
Dim instance As EntitySetLinkBuilderAnnotation 
Dim instanceContext As EntityInstanceContext 
Dim metadataLevel As ODataMetadataLevel 
Dim returnValue As String 

returnValue = instance.BuildIdLink(instanceContext, _
    metadataLevel)
public virtual string BuildIdLink(
    EntityInstanceContext instanceContext,
    ODataMetadataLevel metadataLevel
)
public:
virtual String^ BuildIdLink(
    EntityInstanceContext^ instanceContext, 
    ODataMetadataLevel metadataLevel
)
abstract BuildIdLink : 
        instanceContext:EntityInstanceContext * 
        metadataLevel:ODataMetadataLevel -> string  
override BuildIdLink : 
        instanceContext:EntityInstanceContext * 
        metadataLevel:ODataMetadataLevel -> string
public function BuildIdLink(
    instanceContext : EntityInstanceContext, 
    metadataLevel : ODataMetadataLevel
) : String

Parameters

Return Value

Type: System.String

See Also

Reference

EntitySetLinkBuilderAnnotation Class

System.Web.Http.OData.Builder Namespace