Bagikan melalui


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

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

See Also

Reference

IVsObjectListOwner Interface

Microsoft.VisualStudio.Shell.Interop Namespace