IVsDataObjectStore.InvalidateObjects Method (String)

Invalidates the data objects corresponding to the specified type, forcing the data objects to be selected from the data source for future requests, as opposed to retrieving them from the object store cache.

Namespace:  Microsoft.VisualStudio.Data.Services
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'宣言
Sub InvalidateObjects ( _
    typeName As String _
)
'使用
Dim instance As IVsDataObjectStore
Dim typeName As String

instance.InvalidateObjects(typeName)
void InvalidateObjects(
    string typeName
)
void InvalidateObjects(
    String^ typeName
)
function InvalidateObjects(
    typeName : String
)

Parameters

  • typeName
    Type: System.String

    The data source–specific name of the type to invalidate.

Exceptions

Exception Condition
ArgumentNullException

The typeName parameter is a null reference (Nothing in Visual Basic).

Permissions

See Also

Reference

IVsDataObjectStore Interface

IVsDataObjectStore Members

InvalidateObjects Overload

Microsoft.VisualStudio.Data.Services Namespace