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.StringThe 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
- 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.