Partager via


ServerStub.CollectionIndexerMethodName - Propriété

The indexer method name.

Espace de noms :  Microsoft.SharePoint.Client
Assembly :  Microsoft.SharePoint.Client.ServerRuntime (dans Microsoft.SharePoint.Client.ServerRuntime.dll)

Syntaxe

'Déclaration
Protected Friend Overridable ReadOnly Property CollectionIndexerMethodName As String
    Get
'Utilisation
Dim value As String

value = Me.CollectionIndexerMethodName
protected internal virtual string CollectionIndexerMethodName { get; }

Valeur de propriété

Type : System.String

Remarques

For example, if this ServerProxy object is for PetCollection class and there is a GetById method in PetCollection, if the URL is /pets('abc'), the CollectionIndexerMethodName will be used to retrieve the object. It means that /pets('abc') is same as /pets/getbyid('abc').

Voir aussi

Référence

ServerStub classe

ServerStub - Membres

Microsoft.SharePoint.Client - Espace de noms