Freigeben über


Web.GetEntity-Methode

Specifies the external content type with the specified namespace and name in the context of the current site. This method is used as the entry point to create, read, update, and delete (CRUD) operations against an Entity.

Namespace:  Microsoft.SharePoint.Client
Assemblys:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (in Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Function GetEntity ( _
    namespace As String, _
    name As String _
) As Entity
'Usage
Dim instance As Web
Dim namespace As String
Dim name As String
Dim returnValue As Entity

returnValue = instance.GetEntity(namespace, _
    name)
public Entity GetEntity(
    string namespace,
    string name
)

Parameter

  • namespace
    Typ: System.String

    The namespace of the external content type.

Rückgabewert

Typ: Microsoft.BusinessData.MetadataModel.Entity
The external content type with the specified namespace and name in the context of the current site.

Siehe auch

Referenz

Web Klasse

Web-Member

Microsoft.SharePoint.Client-Namespace