DotNetBrowser  1.14
Public Member Functions | Properties | List of all members
DotNetBrowser.JSString Class Reference

Represents JavaScript primitive string value. More...

Inherits DotNetBrowser.JSPrimitive< string >.

Public Member Functions

override bool IsString ()
 Indicates whether JavaScript value is a string. If this method returns true, then the value can be casted to JSString type. For example: More...
 
override JSString AsString ()
 Casts the current JavaScript object to JSString type. More...
 
override string GetString ()
 Returns string value of the current JSString instance. More...
 
- Public Member Functions inherited from DotNetBrowser.JSPrimitive< string >
override string ToString ()
 

Properties

override string Value [get]
 Gets the value of the current JSString instance. More...
 
- Properties inherited from DotNetBrowser.JSPrimitive< string >
abstract T Value [get]
 Gets the value of the current primitive instance. More...
 

Detailed Description

Represents JavaScript primitive string value.

Member Function Documentation

override JSString DotNetBrowser.JSString.AsString ( )

Casts the current JavaScript object to JSString type.

override string DotNetBrowser.JSString.GetString ( )

Returns string value of the current JSString instance.

override bool DotNetBrowser.JSString.IsString ( )

Indicates whether JavaScript value is a string. If this method returns true, then the value can be casted to JSString type. For example:

if (value.IsString()) { JSString string = value.AsString(); }

Returns
true when JavaScript value is a string.

Property Documentation

override string DotNetBrowser.JSString.Value
get

Gets the value of the current JSString instance.