Partager via


ADVF Enumeration

Specifies the requested behavior when setting up an advise sink or a caching connection with an object.

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'Declaration
Public Enumeration ADVF
public enum ADVF
public enum class ADVF
type ADVF
public enum ADVF

Members

Member name Description
ADVF_DATAONSTOP For data advisory connections, assures accessibility to data.
ADVF_NODATA For data advisory connections, this flag requests the data object not to send data when it calls OnDataChange.
ADVF_ONLYONCE Requests that the object make only one change notification or cache update before deleting the connection.
ADVF_PRIMEFIRST Requests that the object not wait for the data or view to change before making an initial call to OnDataChange (for data or view advisory connections) or updating the cache (for cache connections).
ADVFCACHE_FORCEBUILTIN This value is used by DLL object applications and object handlers that perform the drawing of their objects.
ADVFCACHE_NOHANDLER Synonym for ADVFCACHE_FORCEBUILTIN, which is typically used.
ADVFCACHE_ONSAVE For cache connections, this flag updates the cached representation only when the object containing the cache is saved.

Remarks

For information on the COM interface, see ADVF

See Also

Reference

Microsoft.VisualStudio.OLE.Interop Namespace