DataObjectSelector.GetMappings メソッド

リターンのキーと値のペアのマップされたプロパティ名と対応するデータ ソース固有のプロパティ名。

名前空間:  Microsoft.VisualStudio.Data.Framework
アセンブリ:  Microsoft.VisualStudio.Data.Framework (Microsoft.VisualStudio.Data.Framework.dll 内)

構文

'宣言
Protected Shared Function GetMappings ( _
    mappingParameters As Object() _
) As IDictionary(Of String, Object)
protected static IDictionary<string, Object> GetMappings(
    Object[] mappingParameters
)
protected:
static IDictionary<String^, Object^>^ GetMappings(
    array<Object^>^ mappingParameters
)
static member GetMappings : 
        mappingParameters:Object[] -> IDictionary<string, Object> 
protected static function GetMappings(
    mappingParameters : Object[]
) : IDictionary<String, Object>

パラメーター

  • mappingParameters
    型 : array<System.Object[]
    キーと値の配列、マップされたプロパティ名に対応するパラメーター間のマッピングを含むを組み合わせたものです。

戻り値

型 : System.Collections.Generic.IDictionary<String, Object>
キーと値のペアのマップされたプロパティ名と対応するデータ ソース固有のプロパティ名のコレクション。

例外

例外 条件
ArgumentNullException

mappingParameters パラメーターが nullnull 参照 (Visual Basic では Nothing) です。

解説

mappingParameters のパラメーター値の配列の最初の要素には、各プロパティのデータ ソースの特定のプロパティ名を表します。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

関連項目

DataObjectSelector クラス

Microsoft.VisualStudio.Data.Framework 名前空間