IVsObjectListOwner.ClearCachedData Method
Clears cached object list data.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function ClearCachedData ( _
grfDataKinds As UInteger _
) As Integer
int ClearCachedData(
uint grfDataKinds
)
int ClearCachedData(
[InAttribute] unsigned int grfDataKinds
)
abstract ClearCachedData :
grfDataKinds:uint32 -> int
function ClearCachedData(
grfDataKinds : uint
) : int
Parameters
- grfDataKinds
Type: System.UInt32
[in] A value from the _VSOBJLISTOWNERCACHEDDATAKINDS enumeration indicating type of data to clear from the cache.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsObjectListOwner::ClearCachedData(
[in] VSOBJLISTOWNERCACHEDDATAKINDS grfDataKinds
);
.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.