แก้ไข

แชร์ผ่าน


STATDATA Struct

Definition

Provides the managed definition of the STATDATA structure.

public value class STATDATA
public struct STATDATA
type STATDATA = struct
Public Structure STATDATA
Inheritance
STATDATA

Remarks

The STATDATA structure is the data structure used to specify each advisory connection. It is used for enumerating current advisory connections.

For more information, see STATDATA structure.

The common language runtime throws an exception when a COM method in native code returns an HRESULT. For more information, see How to: Map HRESULTs and Exceptions.

Fields

advf

Represents the ADVF enumeration value that determines when the advisory sink is notified of changes in the data.

advSink

Represents the IAdviseSink interface that will receive change notifications.

connection

Represents the token that uniquely identifies the advisory connection. This token is returned by the method that sets up the advisory connection.

formatetc

Represents the FORMATETC structure for the data of interest to the advise sink. The advise sink receives notification of changes to the data specified by this FORMATETC structure.

Applies to