ObjectPath.TryGetPathValue<T>(Object, 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.
Get the value for a path relative to an object.
public static bool TryGetPathValue<T> (object obj, string path, out T value);
static member TryGetPathValue : obj * string * 'T -> bool
Public Shared Function TryGetPathValue(Of T) (obj As Object, path As String, ByRef value As T) As Boolean
Type Parameters
- T
type to return.
Parameters
- obj
- Object
object to start with.
- path
- String
path to evaluate.
- value
- T
value for the path.
Returns
true if successful.