Compartilhar via


CoreWebView2FrameInfo.FrameId Property

Definition

The unique identifier of the frame associated with the current CoreWebView2FrameInfo. It's the same kind of ID as with the FrameId and FrameId. FrameId will only be populated when obtained calling AssociatedFrameInfos. CoreWebView2FrameInfo objects obtained via ProcessFailed will always have an invalid frame Id 0.

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

Property Value

Remarks

FrameId could be out of date as it's a snapshot. If there's CoreWebView2 created or destroyed or FrameCreated event or Destroyed event after the asynchronous call GetProcessExtendedInfosAsync() starts, you may want to call the asynchronous method again to get the updated `CoreWebView2FrameInfos.

Applies to