IVsDataObjectSelector.GetSupportedRestrictions 方法

当实现由选件类,检索支持,当选择数据对象为指定的类型中的任何限制。

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

语法

声明
Function GetSupportedRestrictions ( _
    typeName As String _
) As IList(Of String)
IList<string> GetSupportedRestrictions(
    string typeName
)
IList<String^>^ GetSupportedRestrictions(
    String^ typeName
)
abstract GetSupportedRestrictions : 
        typeName:string -> IList<string> 
function GetSupportedRestrictions(
    typeName : String
) : IList<String>

参数

  • typeName
    类型:System.String
    数据源特定类型的名称获取支持的限制。

返回值

类型:System.Collections.Generic.IList<String>
支持,当检索具有指定类型的时数据对象限制的列表。

.NET Framework 安全性

请参见

参考

IVsDataObjectSelector 接口

Microsoft.VisualStudio.Data.Services.SupportEntities 命名空间