Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ADVF Enumeration

Note: This enumeration is new in the .NET Framework version 2.0.

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

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace: System.Runtime.InteropServices.ComTypes
Assembly: System (in system.dll)

[FlagsAttribute] 
public enum ADVF
/** @attribute FlagsAttribute() */ 
public enum ADVF
FlagsAttribute 
public enum ADVF
 Member nameDescription
ADVF_DATAONSTOPFor data advisory connections, assures accessibility to data.  
ADVF_NODATAFor data advisory connections (DAdvise or Advise), this flag requests the data object not to send data when it calls OnDataChange.  
ADVF_ONLYONCERequests that the object make only one change notification or cache update before deleting the connection. 
ADVF_PRIMEFIRSTRequests 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_FORCEBUILTINThis value is used by DLL object applications and object handlers that perform the drawing of their objects. 
ADVFCACHE_NOHANDLERSynonym for ADVFCACHE_FORCEBUILTIN, which is used more often. 
ADVFCACHE_ONSAVEFor cache connections, this flag updates the cached representation only when the object containing the cache is saved. 

For additional information about ADVF, see the MDSN library.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.