WebDataFieldListExtensionSetBoolean Method |
Set a Boolean value in the data field with the specified name.
Namespace: ArtDatabanken.WebService.DataAssembly: ArtDatabanken.WebService.Data (in ArtDatabanken.WebService.Data.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax public static void SetBoolean(
this List<WebDataField> dataFields,
string fieldName,
bool value
)
<ExtensionAttribute>
Public Shared Sub SetBoolean (
dataFields As List(Of WebDataField),
fieldName As String,
value As Boolean
)
public:
[ExtensionAttribute]
static void SetBoolean(
List<WebDataField^>^ dataFields,
String^ fieldName,
bool value
)
[<ExtensionAttribute>]
static member SetBoolean :
dataFields : List<WebDataField> *
fieldName : string *
value : bool -> unit
Parameters
- dataFields
- Type: System.Collections.GenericListWebDataField
The WebDataField list. - fieldName
- Type: SystemString
Name of field to update value for. - value
- Type: SystemBoolean
New value for the field.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ListWebDataField. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also