Flags the context or subcontext bag for update by the Dynamic Help window.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
‘선언 Function SetDirty ( _ fDirty As Integer _ ) As Integer ‘사용 방법 Dim instance As IVsUserContext Dim fDirty As Integer Dim returnValue As Integer returnValue = instance.SetDirty(fDirty)
int SetDirty( int fDirty )
int SetDirty( [InAttribute] int fDirty )
abstract SetDirty : fDirty:int -> int
function SetDirty( fDirty : int ) : int
[in] If true, then the Dynamic Help window is informed that the user context has changed. If false, then the Dynamic Help window is informed that the user context has not changed.
HRESULT IVsUserContext::SetDirty( [in] BOOL fDirty );
Use the IsDirty method to determine whether the user context has changed and the IVsUserContext::SetDirty method to flag that the contents of the context bag have changed. At idle time, the Dynamic Help window updates its context from all context bags in the active selection that are identified as having changed.
IVsUserContext.SetDirty is automatically called whenever attributes and keywords are added or removed from the context or subcontext bag.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.