Partager via


Web.GetEntity - Méthode

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.

Espace de noms :  Microsoft.SharePoint.Client
Assemblys :   Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)

Syntaxe

'Déclaration
Public Function GetEntity ( _
    namespace As String, _
    name As String _
) As Entity
'Utilisation
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
)

Paramètres

  • namespace
    Type : System.String

    The namespace of the external content type.

  • name
    Type : System.String

    The name of the external content type.

Valeur renvoyée

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

Voir aussi

Référence

Web classe

Web - Membres

Microsoft.SharePoint.Client - Espace de noms