Partilhar via


CoreWebView2.FrameId Property

Definition

The unique identifier of the main frame. It's the same kind of ID as with the FrameId and FrameId.

public uint FrameId { get; }
member this.FrameId : uint32
Public ReadOnly Property FrameId As UInteger

Property Value

Remarks

FrameId may not be valid if CoreWebView2 has not done any navigation. It's safe to get this value during or after the first ContentLoading event. Otherwise, it could return the invalid frame Id 0.

Applies to