缩小标识符由任何方式可用。
命名空间: Microsoft.VisualStudio.Data
程序集: Microsoft.VisualStudio.Data(在 Microsoft.VisualStudio.Data.dll 中)
语法
声明
Protected Overridable Function SlowContractIdentifier ( _
typeName As String, _
fullIdentifier As Object() _
) As Object()
protected virtual Object[] SlowContractIdentifier(
string typeName,
Object[] fullIdentifier
)
protected:
virtual array<Object^>^ SlowContractIdentifier(
String^ typeName,
array<Object^>^ fullIdentifier
)
abstract SlowContractIdentifier :
typeName:string *
fullIdentifier:Object[] -> Object[]
override SlowContractIdentifier :
typeName:string *
fullIdentifier:Object[] -> Object[]
protected function SlowContractIdentifier(
typeName : String,
fullIdentifier : Object[]
) : Object[]
参数
typeName
类型:String数据对象的类型的名称。
fullIdentifier
类型:array<Object[]数据对象的完整标识符。
返回值
类型:array<Object[]
返回被收缩的标识符。
异常
异常 | 条件 |
---|---|
ArgumentNullException | typeName 参数为 null。 |
备注
此方法协定标识符使用需要任何手段获得正确的缩小。 它可以执行开销大的操作根据要求。 QuickContractIdentifier 方法的基实现委托。
ContractIdentifier 方法的基实现首先尝试调用方法,QuickContractIdentifier,因此,如果您无法提供缩小其搜索缓存现有项。 最后,因此,如果未找到该项,将调用此方法在最后一招。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。