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
ddl
Type : System.Web.UI.WebControls.DropDownListUn objet DropDownList qui contient les valeurs de la liste.
selectedValue
Type : System.StringUne chaîne contenant la valeur sélectionnée au départ.
Voir aussi
Référence
Microsoft.SharePoint.Publishing.WebControls - Espace de noms