Gets boolean value for the named attribute. A trueTruetruetrue (True in Visual Basic) boolean attribute has a string value.
of "Yes".
Namespace: ININ.IceLib.PeopleAssembly: ININ.IceLib.People (in ININ.IceLib.People.dll) Version: 0.0.0.0 (22.3.0.218)
Syntax
C# |
---|
public bool GetAttributeAsBool( string attributeName ) |
Visual Basic |
---|
Public Function GetAttributeAsBool ( _ attributeName As String _ ) As Boolean |
Parameters
- attributeName
- Type: System..::..String
Name of the attribute.
Return Value
trueTruetruetrue (True in Visual Basic) if the string value is set to "Yes".Remarks
Note |
---|
Accessing this property before a watch is started which includes this property raises a NotCachedException. A watch must be started first. For more information on watches see How Watches Work. |
Exceptions
Exception | Condition |
---|---|
ININ.IceLib..::..NotCachedException | The associated attribute is not being watched. |
Version Information
Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.
For 3.0, supported for IC Server version 3.0 GA and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.
For 3.0, supported for IC Server version 3.0 GA and beyond.