次の方法で共有


VSDBCmdServices.SetProperties メソッド

リフレクションを使用してプロパティを動的に設定するヘルパー メソッド。

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

構文

'宣言
Public Shared Function SetProperties ( _
    availableProperties As IDictionary(Of String, PropertyInfo), _
    propertyValueLookup As IDictionary(Of String, String), _
    propertyHolder As Object, _
    <OutAttribute> ByRef unsetProperties As HashSet(Of String) _
) As Boolean
public static bool SetProperties(
    IDictionary<string, PropertyInfo> availableProperties,
    IDictionary<string, string> propertyValueLookup,
    Object propertyHolder,
    out HashSet<string> unsetProperties
)
public:
static bool SetProperties(
    IDictionary<String^, PropertyInfo^>^ availableProperties, 
    IDictionary<String^, String^>^ propertyValueLookup, 
    Object^ propertyHolder, 
    [OutAttribute] HashSet<String^>^% unsetProperties
)
static member SetProperties : 
        availableProperties:IDictionary<string, PropertyInfo> * 
        propertyValueLookup:IDictionary<string, string> * 
        propertyHolder:Object * 
        unsetProperties:HashSet<string> byref -> bool 
public static function SetProperties(
    availableProperties : IDictionary<String, PropertyInfo>, 
    propertyValueLookup : IDictionary<String, String>, 
    propertyHolder : Object, 
    unsetProperties : HashSet<String>
) : boolean

パラメーター

  • propertyHolder
    型: System.Object
    プロパティが設定されるオブジェクト。

戻り値

型: System.Boolean

.NET Framework セキュリティ

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

参照

参照

VSDBCmdServices クラス

Microsoft.Data.Schema.Build 名前空間