Click or drag to resize

ArchivableDictionarySetEnumValueT Method (String, T)

Set an enum value in the dictionary with a custom key.

Namespace:  Rhino.Collections
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool SetEnumValue<T>(
	string key,
	T enumValue
)
where T : struct, new(), IConvertible

Parameters

key
Type: SystemString

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

enumValue
Type: T

[Missing <param name="enumValue"/> documentation for "M:Rhino.Collections.ArchivableDictionary.SetEnumValue``1(System.String,``0)"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Rhino.Collections.ArchivableDictionary.SetEnumValue``1(System.String,``0)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Rhino.Collections.ArchivableDictionary.SetEnumValue``1(System.String,``0)"]

Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.6
See Also