IWmiQueryBuilderTAddPropertyTProperty Method |
Maps the property of the destination model to the WMI property.
Namespace:
Xcalibur.WMI.Framework
Assembly:
Xcalibur.WMI.Framework (in Xcalibur.WMI.Framework.dll) Version: 3.0.0.0 (3.0.1.0)
Syntax IWmiQueryBuilder<T> AddProperty<TProperty>(
Expression<Func<T, TProperty>> mapPropertyExpression,
string wmiProperty
)
Function AddProperty(Of TProperty) (
mapPropertyExpression As Expression(Of Func(Of T, TProperty)),
wmiProperty As String
) As IWmiQueryBuilder(Of T)
generic<typename TProperty>
IWmiQueryBuilder<T>^ AddProperty(
Expression<Func<T, TProperty>^>^ mapPropertyExpression,
String^ wmiProperty
)
abstract AddProperty :
mapPropertyExpression : Expression<Func<'T, 'TProperty>> *
wmiProperty : string -> IWmiQueryBuilder<'T>
Parameters
- mapPropertyExpression
- Type: System.Linq.ExpressionsExpressionFuncT, TProperty
The expression to strongly identify the property of
the known model. - wmiProperty
- Type: SystemString
The WMI property to map to.
Type Parameters
- TProperty
- The type of the property.
Return Value
Type:
IWmiQueryBuilderTSee Also