Options Method

HttpServer.dll

Generate a list of HTML options

Namespace:  HttpServer.Helpers
Assembly:  HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static string Options(
	IEnumerable collection,
	GetIdTitle getIdTitle,
	Object selectedValue,
	bool firstEmpty
)
Visual Basic (Declaration)
Public Shared Function Options ( _
	collection As IEnumerable, _
	getIdTitle As GetIdTitle, _
	selectedValue As Object, _
	firstEmpty As Boolean _
) As String
Visual C++
public:
static String^ Options(
	IEnumerable^ collection, 
	GetIdTitle^ getIdTitle, 
	Object^ selectedValue, 
	bool firstEmpty
)

Parameters

collection
Type: System.Collections..::.IEnumerable
collection used to generate options.
getIdTitle
Type: HttpServer.Helpers..::.GetIdTitle
delegate used to return id and title from objects.
selectedValue
Type: System..::.Object
value that should be marked as selected.
firstEmpty
Type: System..::.Boolean
First row should contain an empty value.

Return Value

[Missing <returns> documentation for M:HttpServer.Helpers.FormHelper.Options(System.Collections.IEnumerable,HttpServer.Helpers.GetIdTitle,System.Object,System.Boolean)]

See Also