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
매개 변수
- availableProperties
형식: System.Collections.Generic.IDictionary<String, PropertyInfo>
사용 가능한 속성의 목록입니다.
- propertyValueLookup
형식: System.Collections.Generic.IDictionary<String, String>
속성 이름을 키로 사용한 속성의 이름/값 쌍 목록입니다.
- propertyHolder
형식: System.Object
속성이 설정되는 개체입니다.
- unsetProperties
형식: System.Collections.Generic.HashSet<String>%
값이 설정되지 않은 속성의 반환 목록입니다.
반환 값
형식: System.Boolean
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.