IVsUserContext::IsDirty Method (Int32)

 

Determines whether the user context has changed in the context or subcontext bag.

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

int IsDirty(
	[OutAttribute] int% pfDirty
)

Parameters

pfDirty
Type: System::Int32

[out, retval] If true, then the user context has changed. If false, then the user context is unchanged.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From context.idl:

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.

Return to top
Show: