IVsDataObjectStore.GetRequiredRestrictions 方法

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

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

语法

声明
Function GetRequiredRestrictions ( _
    typeName As String _
) As IList(Of String)
IList<string> GetRequiredRestrictions(
    string typeName
)
IList<String^>^ GetRequiredRestrictions(
    String^ typeName
)
abstract GetRequiredRestrictions : 
        typeName:string -> IList<string> 
function GetRequiredRestrictions(
    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 命名空间