Determines whether the user context has changed in the context or subcontext bag.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
‘선언 Function IsDirty ( _ <OutAttribute> ByRef pfDirty As Integer _ ) As Integer ‘사용 방법 Dim instance As IVsUserContext Dim pfDirty As Integer Dim returnValue As Integer returnValue = instance.IsDirty(pfDirty)
int IsDirty( out int pfDirty )
int IsDirty( [OutAttribute] int% pfDirty )
abstract IsDirty : pfDirty:int byref -> int
function IsDirty( pfDirty : int ) : int
[out, retval] If true, then the user context has changed. If false, then the user context is unchanged.
HRESULT IVsUserContext::IsDirty( [out, retval] BOOL * pfDirty );
Use the IVsUserContext.IsDirty method to determine whether the user context has changed and the 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.
.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.