WebApplicationAdapter.OnNewWindow(String, String, Int64) 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.
Creates a new browser window. It permits the application to cancel or allow the NewWindow
operation.
public:
virtual bool OnNewWindow(System::String ^ newUrlString, System::String ^ fromUrlString, long flags);
public virtual bool OnNewWindow (string newUrlString, string fromUrlString, long flags);
abstract member OnNewWindow : string * string * int64 -> bool
override this.OnNewWindow : string * string * int64 -> bool
Public Overridable Function OnNewWindow (newUrlString As String, fromUrlString As String, flags As Long) As Boolean
Parameters
- newUrlString
- String
Specifies the new window's initial address.
- fromUrlString
- String
Specifies the URL that’s trying to create a new window.
- flags
- Int64
Specifies a bitmask that indicates how and why this window is being created.
Returns
true to allow NewWindow
operation; otherwise, false
.