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
'宣言
Function ClearCachedData ( _
grfDataKinds As UInteger _
) As Integer
'使用
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
);
Permissions
- 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.