DataObjectSelector.GetSupportedRestrictions 方法 (String)

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

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

语法

声明
Public Function GetSupportedRestrictions ( _
    typeName As String _
) As IList(Of String)
public IList<string> GetSupportedRestrictions(
    string typeName
)
public:
virtual IList<String^>^ GetSupportedRestrictions(
    String^ typeName
) sealed
abstract GetSupportedRestrictions : 
        typeName:string -> IList<string> 
override GetSupportedRestrictions : 
        typeName:string -> IList<string> 
public final function GetSupportedRestrictions(
    typeName : String
) : IList<String>

参数

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

返回值

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

实现

IVsDataObjectSelector.GetSupportedRestrictions(String)

异常

异常 条件
ArgumentNullException

typeName 参数为 nullnull 引用(在 Visual Basic 中为 Nothing)。

备注

此方法将调用委托给 GetSupportedRestrictions 方法并将第二个参数为null。

.NET Framework 安全性

请参见

参考

DataObjectSelector 类

GetSupportedRestrictions 重载

Microsoft.VisualStudio.Data.Framework 命名空间