Language

SlackModel.Get<T>(String) Method

Definition

Gets a value at the given dot-notation path. Supports dot-separated property access and bracket array indexing (e.g. "message.attachments[0].text"). Returns default when the path does not exist or the value cannot be converted to T.

public T Get<T>(string path);
member this.Get : string -> 'T
Public Function Get(Of T) (path As String) As T

Type Parameters

T

Parameters

path
String

Returns

T

Applies to