Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'Usage
Dim instance As IVsObjectListOwner
Dim grfDataKinds As UInteger
Dim returnValue As Integer
returnValue = instance.ClearCachedData(grfDataKinds)
int ClearCachedData(
uint grfDataKinds
)
int ClearCachedData(
[InAttribute] unsigned int grfDataKinds
)
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.