VSDBCmdServices.SetProperties (Método)
Método auxiliar que usa la reflexión para establecer las propiedades dinámicamente.
Espacio de nombres: Microsoft.Data.Schema.Build
Ensamblado: Microsoft.Data.Schema (en Microsoft.Data.Schema.dll)
Sintaxis
'Declaración
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
Parámetros
- availableProperties
Tipo: System.Collections.Generic.IDictionary<String, PropertyInfo>
Una lista de propiedades disponibles.
- propertyValueLookup
Tipo: System.Collections.Generic.IDictionary<String, String>
Una lista de pares de nombre y valor de propiedades, con la clave de nombre de propiedad.
- propertyHolder
Tipo: System.Object
Objeto cuyas propiedades se van a establecer.
- unsetProperties
Tipo: System.Collections.Generic.HashSet<String>%
Lista devuelta de propiedades cuyos valores no se establecieron.
Valor devuelto
Tipo: System.Boolean
Seguridad de .NET Framework
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, vea Utilizar bibliotecas de código que no es de plena confianza.