Partager via


CmsDataFormWebPart.PopulateItemDropDown - Méthode

Remplit une liste déroulante d'éléments.

Espace de noms :  Microsoft.SharePoint.Publishing.WebControls
Assembly :  Microsoft.SharePoint.Publishing (dans Microsoft.SharePoint.Publishing.dll)

Syntaxe

'Déclaration
Public Sub PopulateItemDropDown ( _
    ddl As DropDownList, _
    selectedValue As String _
)
'Utilisation
Dim instance As CmsDataFormWebPart
Dim ddl As DropDownList
Dim selectedValue As String

instance.PopulateItemDropDown(ddl, selectedValue)
public void PopulateItemDropDown(
    DropDownList ddl,
    string selectedValue
)

Paramètres

  • selectedValue
    Type : System.String

    Une chaîne contenant la valeur sélectionnée au départ.

Voir aussi

Référence

CmsDataFormWebPart classe

CmsDataFormWebPart - Membres

Microsoft.SharePoint.Publishing.WebControls - Espace de noms