Language

SlackModel.TryGet<T>(String, T) Method

Definition

Tries to get a value at the given dot-notation path. Returns false when the path does not exist or the value cannot be converted to T.

public bool TryGet<T>(string path, out T value);
member this.TryGet : string * 'T -> bool
Public Function TryGet(Of T) (path As String, ByRef value As T) As Boolean

Type Parameters

T

Parameters

path
String
value
T

Returns

Applies to