Description:

Find a field with the specified key and get its value if found.

Syntax:
public Boolean TryGetValue(
String key,
out Color4f value
)
Parameters:
  • key
  • Type: System.String
  • Key name of the field to get a value for.
  • value
  • Type: Color4f
  • Output parameter which will receive the field value.
Returns:
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.
Available since:
5.1

Description:

Find a field with the specified key and get its value if found.

Syntax:
public Boolean TryGetValue(
String key,
out Point2d value
)
Parameters:
  • key
  • Type: System.String
  • Key name of the field to get a value for.
  • value
  • Type: Point2d
  • Output parameter which will receive the field value.
Returns:
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.
Available since:
5.1

Description:

Find a field with the specified key and get its value if found.

Syntax:
public Boolean TryGetValue(
String key,
out Point3d value
)
Parameters:
  • key
  • Type: System.String
  • Key name of the field to get a value for.
  • value
  • Type: Point3d
  • Output parameter which will receive the field value.
Returns:
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.
Available since:
5.1

Description:

Find a field with the specified key and get its value if found.

Syntax:
public Boolean TryGetValue(
String key,
out Point4d value
)
Parameters:
  • key
  • Type: System.String
  • Key name of the field to get a value for.
  • value
  • Type: Point4d
  • Output parameter which will receive the field value.
Returns:
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.
Available since:
5.1

Description:

Find a field with the specified key and get its value if found.

Syntax:
public Boolean TryGetValue(
String key,
out Boolean value
)
Parameters:
  • key
  • Type: System.String
  • Key name of the field to get a value for.
  • value
  • Type: System.Boolean
  • Output parameter which will receive the field value.
Returns:
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.
Available since:
5.1

Description:

Find a field with the specified key and get its value if found.

Syntax:
public Boolean TryGetValue(
String key,
out Byte[] value
)
Parameters:
  • key
  • Type: System.String
  • Key name of the field to get a value for.
  • value
  • Type: System.Byte[]
  • Output parameter which will receive the field value.
Returns:
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.
Available since:
5.1

Description:

Find a field with the specified key and get its value if found.

Syntax:
public Boolean TryGetValue(
String key,
out DateTime value
)
Parameters:
  • key
  • Type: System.String
  • Key name of the field to get a value for.
  • value
  • Type: System.DateTime
  • Output parameter which will receive the field value.
Returns:
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.
Available since:
5.1

Description:

Find a field with the specified key and get its value if found.

Syntax:
public Boolean TryGetValue(
String key,
out Double value
)
Parameters:
  • key
  • Type: System.String
  • Key name of the field to get a value for.
  • value
  • Type: System.Double
  • Output parameter which will receive the field value.
Returns:
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.
Available since:
5.1

Description:

Find a field with the specified key and get its value if found.

Syntax:
public Boolean TryGetValue(
String key,
out Color value
)
Parameters:
  • key
  • Type: System.String
  • Key name of the field to get a value for.
  • value
  • Type: System.Drawing.Color
  • Output parameter which will receive the field value.
Returns:
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.
Available since:
5.1

Description:

Find a field with the specified key and get its value if found.

Syntax:
public Boolean TryGetValue(
String key,
out Guid value
)
Parameters:
  • key
  • Type: System.String
  • Key name of the field to get a value for.
  • value
  • Type: System.Guid
  • Output parameter which will receive the field value.
Returns:
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.
Available since:
5.1

Description:

Find a field with the specified key and get its value if found.

Syntax:
public Boolean TryGetValue(
String key,
out Int32 value
)
Parameters:
  • key
  • Type: System.String
  • Key name of the field to get a value for.
  • value
  • Type: System.Int32
  • Output parameter which will receive the field value.
Returns:
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.
Available since:
5.1

Description:

Find a field with the specified key and get its value if found.

Syntax:
public Boolean TryGetValue(
String key,
out Single value
)
Parameters:
  • key
  • Type: System.String
  • Key name of the field to get a value for.
  • value
  • Type: System.Single
  • Output parameter which will receive the field value.
Returns:
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.
Available since:
5.1

Description:

Find a field with the specified key and get its value if found.

Syntax:
public Boolean TryGetValue(
String key,
out String value
)
Parameters:
  • key
  • Type: System.String
  • Key name of the field to get a value for.
  • value
  • Type: System.String
  • Output parameter which will receive the field value.
Returns:
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.
Available since:
5.1

Description:

Parametrized version of TryGetValue.

Syntax:
public Boolean TryGetValue(
String key,
out T value
)
Parameters:
  • key
  • Type: System.String
  • Name of field to find.
  • value
  • Type: T
  • out parameter to be set.
Returns:
Type: Boolean
True if field was found. If False out parameter value will be set to default(T).
Available since:
6.12

Description:

Find a field with the specified key and get its value if found.

Syntax:
public Boolean TryGetValue(
String key,
out Transform value
)
Parameters:
  • key
  • Type: System.String
  • Key name of the field to get a value for.
  • value
  • Type: Transform
  • Output parameter which will receive the field value.
Returns:
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.
Available since:
5.1

Description:

Find a field with the specified key and get its value if found.

Syntax:
public Boolean TryGetValue(
String key,
out Vector2d value
)
Parameters:
  • key
  • Type: System.String
  • Key name of the field to get a value for.
  • value
  • Type: Vector2d
  • Output parameter which will receive the field value.
Returns:
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.
Available since:
5.1

Description:

Find a field with the specified key and get its value if found.

Syntax:
public Boolean TryGetValue(
String key,
out Vector3d value
)
Parameters:
  • key
  • Type: System.String
  • Key name of the field to get a value for.
  • value
  • Type: Vector3d
  • Output parameter which will receive the field value.
Returns:
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.
Available since:
5.1

Nothing found