← Back to carmenta.com
Carmenta Engine SDK Documentation
×

KeyValueTable<RoadType>.TryGetValue Method

Gets the value associated with the specified key.

Thread safety: This method is not thread-safe. Show

TryGetValue(AttributeValue key, out RoadType value)

Gets the value associated with the specified key.

Syntax

C#
public System.Boolean TryGetValue (
    AttributeValue key,
    out RoadType value
)

Parameters

key
Type: AttributeValue
The key of the value to get.
value
Type: RoadType
Set to the value associated with key if key is found in the table.

Return Value

Type: System.Boolean
True if value has been set; otherwise, False.

Platforms

Windows, Linux, Android

By accessing the information on this site you accept our terms and conditions and privacy policy.
This site uses cookies to enhance your experience and provide additional functionality.

Accept