다음을 통해 공유


CmsDataFormWebPart.PopulateHeaderDropDown Method

Populates the header drop-down list.

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
)

Parameters

  • selectedValue
    Type: System.String

    A string that contains the value initially selected.

See Also

Reference

CmsDataFormWebPart Class

CmsDataFormWebPart Members

Microsoft.SharePoint.Publishing.WebControls Namespace