次の方法で共有


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 _
)
void InvalidateObjects(
    string typeName
)
void InvalidateObjects(
    String^ typeName
)
abstract InvalidateObjects : 
        typeName:string -> unit 
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 nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

IVsDataObjectStore Interface

InvalidateObjects Overload

Microsoft.VisualStudio.Data.Services Namespace