ArchivableDictionary.GetBool Method (String, Boolean)

ArchivableDictionaryGetBool Method (String, Boolean)

Get value as bool, will return defaultValue unless value was created using Set(string key, bool value)

Namespace:  Rhino.Collections
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool GetBool(
	string key,
	bool defaultValue
)
Public Function GetBool ( 
	key As String,
	defaultValue As Boolean
) As Boolean

Parameters

key
Type: SystemString

[Missing <param name="key"/> documentation for "M:Rhino.Collections.ArchivableDictionary.GetBool(System.String,System.Boolean)"]

defaultValue
Type: SystemBoolean

[Missing <param name="defaultValue"/> documentation for "M:Rhino.Collections.ArchivableDictionary.GetBool(System.String,System.Boolean)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Rhino.Collections.ArchivableDictionary.GetBool(System.String,System.Boolean)"]

Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also