SlackModel.TryGet<T>(String, T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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