共用方式為


IVsDataObjectSelector.GetRequiredRestrictions 方法

當由類別實作,以擷取所選取時,資料物件指定型別時限制的清單。

命名空間:  Microsoft.VisualStudio.Data.Services.SupportEntities
組件:  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
    類型:String

    特定資料來源的型別名稱取得必要的。

傳回值

類型:IList<String>
對於目前型別時所需的,在擷取資料物件限制的清單。

.NET Framework 安全性

請參閱

參考

IVsDataObjectSelector 介面

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