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 名前空間