DataServiceContext.GetEntityDescriptor Method

Gets the EntityDescriptor for the supplied entity object.

Namespace:  System.Data.Services.Client
Assembly:  System.Data.Services.Client (in System.Data.Services.Client.dll)


Public Function GetEntityDescriptor ( _
    entity As Object _
) As EntityDescriptor
public EntityDescriptor GetEntityDescriptor(
    Object entity


  • entity
    Type: System.Object
    The object for which to return the entity descriptor.

Return Value

Type: System.Data.Services.Client.EntityDescriptor
The EntityDescriptor instance for the entity, or nulla null reference (Nothing in Visual Basic) if an EntityDescriptor does not exist for the object.

Version Information


Supported in: 5, 4


For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.