当实现由选件类,将指定的映射限制为源特定的数据的基础限制。
命名空间: Microsoft.VisualStudio.Data.Services.SupportEntities
程序集: Microsoft.VisualStudio.Data.Services(在 Microsoft.VisualStudio.Data.Services.dll 中)
语法
声明
Function ConvertToUnderlyingRestriction ( _
mappedTypeName As String, _
substitutionValueIndex As Integer, _
mappedRestrictions As Object() _
) As Object
Object ConvertToUnderlyingRestriction(
string mappedTypeName,
int substitutionValueIndex,
Object[] mappedRestrictions
)
Object^ ConvertToUnderlyingRestriction(
String^ mappedTypeName,
int substitutionValueIndex,
array<Object^>^ mappedRestrictions
)
abstract ConvertToUnderlyingRestriction :
mappedTypeName:string *
substitutionValueIndex:int *
mappedRestrictions:Object[] -> Object
function ConvertToUnderlyingRestriction(
mappedTypeName : String,
substitutionValueIndex : int,
mappedRestrictions : Object[]
) : Object
参数
mappedTypeName
类型:String映射的类型的名称。
substitutionValueIndex
类型:Int32索引到替换值中。
mappedRestrictions
类型:array<Object[]包含映射的限制的数组。
返回值
类型:Object
从将映射的限制转换的基础限制。
备注
此方法很有用,当映射对象选择器(IVsDataMappedObjectSelector)时需要转换映射的限制为基础限制传递给数据源特定类型的选择器。 此过程称为" 映射的选择。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。