Freigeben über


CmsDataFormWebPart.PopulateHeaderDropDown-Methode

Füllt die Dropdownliste Header.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Sub PopulateHeaderDropDown ( _
    ddl As DropDownList, _
    selectedValue As String _
)
'Usage
Dim instance As CmsDataFormWebPart
Dim ddl As DropDownList
Dim selectedValue As String

instance.PopulateHeaderDropDown(ddl, _
    selectedValue)
public void PopulateHeaderDropDown(
    DropDownList ddl,
    string selectedValue
)

Parameter

  • selectedValue
    Typ: System.String

    Eine Zeichenfolge, die den anfangs ausgewählten Wert enthält.

Siehe auch

Referenz

CmsDataFormWebPart Klasse

CmsDataFormWebPart-Member

Microsoft.SharePoint.Publishing.WebControls-Namespace