JSInProcessObjectReference.GetValue<TValue>(String) 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.
Reads the value of the specified JavaScript property synchronously.
public TValue GetValue<TValue>(string identifier);
abstract member GetValue : string -> 'Value
override this.GetValue : string -> 'Value
Public Function GetValue(Of TValue) (identifier As String) As TValue
Type Parameters
- TValue
The JSON-serializable return type.
Parameters
- identifier
- String
An identifier for the property to read. For example, the value "someScope.someProp"
will read the value of the property window.someScope.someProp
.
Returns
An instance of TValue
obtained by JSON-deserializing the return value.