FormCollection.GetByPageType - Méthode
Returns the list form with the specified page type.
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 GetByPageType ( _
formType As PageType _
) As Form
'Utilisation
Dim instance As FormCollection
Dim formType As PageType
Dim returnValue As Form
returnValue = instance.GetByPageType(formType)
public Form GetByPageType(
PageType formType
)
Paramètres
formType
Type : Microsoft.SharePoint.Client.PageTypeSpecifies the page type of the list form to return.
Valeur renvoyée
Type : Microsoft.SharePoint.Client.Form
Returns a Form instance representing the list form with the specified page type.
Remarques
If there is more than one list form with the specified page type, the server must return one list form. If there is no list form with the specified page type, the server must return une référence Null (Rien dans Visual Basic).