VSDBCmdServices.SetProperties-Methode
Hilfsmethode, die Eigenschaften mithilfe der Reflektion dynamisch festlegt.
Namespace: Microsoft.Data.Schema.Build
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
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
Parameter
- availableProperties
Typ: System.Collections.Generic.IDictionary<String, PropertyInfo>
Eine Liste der verfügbaren Eigenschaften.
- propertyValueLookup
Typ: System.Collections.Generic.IDictionary<String, String>
Eine Liste von Name-Wert-Paaren für Eigenschaften, aufgeschlüsselt nach Eigenschaftennamen.
- propertyHolder
Typ: System.Object
Das Objekt, dessen Eigenschaften festgelegt werden sollen.
- unsetProperties
Typ: System.Collections.Generic.HashSet<String>%
Die zurückgegebene Liste von Eigenschaften, deren Werte nicht festgelegt wurden.
Rückgabewert
Typ: System.Boolean
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.