IVsDataObjectStore.InvalidateObjects 方法 (String)

无效数据对象与指定的类型相对应,强制数据对象从数据源中选择用于以后的请求,用于检索它们相对于从对象存储缓存。

命名空间:  Microsoft.VisualStudio.Data.Services
程序集:  Microsoft.VisualStudio.Data.Services(在 Microsoft.VisualStudio.Data.Services.dll 中)

语法

声明
Sub InvalidateObjects ( _
    typeName As String _
)
void InvalidateObjects(
    string typeName
)
void InvalidateObjects(
    String^ typeName
)
abstract InvalidateObjects : 
        typeName:string -> unit 
function InvalidateObjects(
    typeName : String
)

参数

  • typeName
    类型:System.String
    无效类型的数据源特定名称。

异常

异常 条件
ArgumentNullException

typeName 参数为 nullnull 引用(在 Visual Basic 中为 Nothing)。

.NET Framework 安全性

请参见

参考

IVsDataObjectStore 接口

InvalidateObjects 重载

Microsoft.VisualStudio.Data.Services 命名空间