Share via


EntitySetLinkBuilderAnnotation.BuildReadLink Method

Constructs a ReadLink URL 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 BuildReadLink ( _
    instanceContext As EntityInstanceContext, _
    metadataLevel As ODataMetadataLevel, _
    editLink As Uri _
) As Uri
'Usage
Dim instance As EntitySetLinkBuilderAnnotation 
Dim instanceContext As EntityInstanceContext 
Dim metadataLevel As ODataMetadataLevel 
Dim editLink As Uri 
Dim returnValue As Uri 

returnValue = instance.BuildReadLink(instanceContext, _
    metadataLevel, editLink)
public virtual Uri BuildReadLink(
    EntityInstanceContext instanceContext,
    ODataMetadataLevel metadataLevel,
    Uri editLink
)
public:
virtual Uri^ BuildReadLink(
    EntityInstanceContext^ instanceContext, 
    ODataMetadataLevel metadataLevel, 
    Uri^ editLink
)
abstract BuildReadLink : 
        instanceContext:EntityInstanceContext * 
        metadataLevel:ODataMetadataLevel * 
        editLink:Uri -> Uri  
override BuildReadLink : 
        instanceContext:EntityInstanceContext * 
        metadataLevel:ODataMetadataLevel * 
        editLink:Uri -> Uri
public function BuildReadLink(
    instanceContext : EntityInstanceContext, 
    metadataLevel : ODataMetadataLevel, 
    editLink : Uri
) : Uri

Parameters

Return Value

Type: System.Uri

See Also

Reference

EntitySetLinkBuilderAnnotation Class

System.Web.Http.OData.Builder Namespace