DataMappedObjectConverter.ConvertToUnderlyingRestriction 方法 (String, Int32, array<Object )

将指定的映射限制为数据源特定的基础限制。

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

语法

声明
Public Function ConvertToUnderlyingRestriction ( _
    mappedTypeName As String, _
    substitutionValueIndex As Integer, _
    mappedRestrictions As Object() _
) As Object
public Object ConvertToUnderlyingRestriction(
    string mappedTypeName,
    int substitutionValueIndex,
    Object[] mappedRestrictions
)
public:
virtual Object^ ConvertToUnderlyingRestriction(
    String^ mappedTypeName, 
    int substitutionValueIndex, 
    array<Object^>^ mappedRestrictions
) sealed
abstract ConvertToUnderlyingRestriction : 
        mappedTypeName:string * 
        substitutionValueIndex:int * 
        mappedRestrictions:Object[] -> Object 
override ConvertToUnderlyingRestriction : 
        mappedTypeName:string * 
        substitutionValueIndex:int * 
        mappedRestrictions:Object[] -> Object 
public final function ConvertToUnderlyingRestriction(
    mappedTypeName : String, 
    substitutionValueIndex : int, 
    mappedRestrictions : Object[]
) : Object

参数

  • mappedTypeName
    类型:System.String
    映射的类型的名称。
  • substitutionValueIndex
    类型:System.Int32
    索引到替换值中。
  • mappedRestrictions
    类型:array<System.Object[]
    包含映射的限制的数组。

返回值

类型:System.Object
从将映射的限制转换的基础限制。

实现

IVsDataMappedObjectConverter.ConvertToUnderlyingRestriction(String, Int32, array<Object[])

备注

此方法很有用,当映射对象选择器([T:Microsoft.VisualStudio.Data.Services.IVsDataMappedObjectSelector)] 需要将映射的限制为基础限制传递给数据源特定类型的选择器(IVsDataMappedObjectSelector。)此过程称为" 映射的选择。

此方法将调用委托给 ConvertToUnderlyingRestriction 方法并将最后一个参数的 nullnull 引用(在 Visual Basic 中为 Nothing)。

.NET Framework 安全性

请参见

参考

DataMappedObjectConverter 类

ConvertToUnderlyingRestriction 重载

Microsoft.VisualStudio.Data.Framework 命名空间