次の方法で共有


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

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

See Also

Reference

IVsObjectListOwner Interface

IVsObjectListOwner Members

Microsoft.VisualStudio.Shell.Interop Namespace