







![]() ![]() |
C# Webserver |
WebHelper..::.Select Method (String, ICollection, GetIdTitle, Object, Boolean) |
WebHelper Class See Also Send Feedback |
Creates a select list with the values in a collection.
Namespace:
HttpServer.Helpers
Assembly:
HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
[ObsoleteAttribute("Moved to FormHelper")] public static string Select( string name, ICollection collection, GetIdTitle getIdTitle, Object selectedValue, bool firstEmpty ) |
Visual Basic (Declaration) |
---|
<ObsoleteAttribute("Moved to FormHelper")> _ Public Shared Function Select ( _ name As String, _ collection As ICollection, _ getIdTitle As GetIdTitle, _ selectedValue As Object, _ firstEmpty As Boolean _ ) As String |
Visual C++ |
---|
[ObsoleteAttribute(L"Moved to FormHelper")] public: static String^ Select( String^ name, ICollection^ collection, GetIdTitle^ getIdTitle, Object^ selectedValue, bool firstEmpty ) |
Parameters
- name
- Type: System..::.String
Name of the SELECT-tag
- collection
- Type: System.Collections..::.ICollection
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.