IVsDataObjectStore.InvalidateObjects 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| InvalidateObjects(String, Object[]) |
使与指定的类型和限制相对应的数据对象失效,并强制从数据源中选择数据对象以供将来请求,而不是从对象存储缓存中检索这些对象。 |
| InvalidateObjects(String) |
使与指定类型相对应的数据对象失效,并强制从数据源中选择数据对象以供将来请求,而不是从对象存储缓存中检索这些对象。 |
InvalidateObjects(String, Object[])
使与指定的类型和限制相对应的数据对象失效,并强制从数据源中选择数据对象以供将来请求,而不是从对象存储缓存中检索这些对象。
public:
void InvalidateObjects(System::String ^ typeName, cli::array <System::Object ^> ^ restrictions);
public void InvalidateObjects (string typeName, object[] restrictions);
abstract member InvalidateObjects : string * obj[] -> unit
Public Sub InvalidateObjects (typeName As String, restrictions As Object())
参数
- typeName
- String
要使其无效的类型的数据源特定名称。
- restrictions
- Object[]
一个数组,其中包含与指定类型关联的限制,使其无效。
例外
typeName 参数为 null。
适用于
InvalidateObjects(String)
使与指定类型相对应的数据对象失效,并强制从数据源中选择数据对象以供将来请求,而不是从对象存储缓存中检索这些对象。
public:
void InvalidateObjects(System::String ^ typeName);
public void InvalidateObjects (string typeName);
abstract member InvalidateObjects : string -> unit
Public Sub InvalidateObjects (typeName As String)
参数
- typeName
- String
要使其无效的类型的数据源特定名称。
例外
typeName 参数为 null。