IVsDataObjectStore.GetSupportedRestrictions 方法

返回用于选择一个指定类型对象支持从对象中存储的所有限制。

命名空间:  Microsoft.VisualStudio.Data.Services
程序集:  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>
字符串值列表表示支持的限制。

异常

异常 条件
ArgumentNullException

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

备注

限制对象数的筛选器从对象存储,返回限制为。

.NET Framework 安全性

请参见

参考

IVsDataObjectStore 接口

Microsoft.VisualStudio.Data.Services 命名空间