FieldDictionaryTryGetValue Method (String, Int32) |
Find a field with the specified key and get its value if found.
Namespace:
Rhino.Render.Fields
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic bool TryGetValue(
string key,
out int value
)
Public Function TryGetValue (
key As String,
<OutAttribute> ByRef value As Integer
) As Boolean
Parameters
- key
- Type: SystemString
Key name of the field to get a value for. - value
- Type: SystemInt32
Output parameter which will receive the field value.
Return Value
Type:
Boolean
Returns true if the key is found and the value parameter is set to the
field value. Returns false if the field was not found.
Version InformationRhino for Windows
Supported in: 6.8
See Also