WmiQueryBuilderTAddPropertyTProperty 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 public IWmiQueryBuilder<T> AddProperty<TProperty>(
Expression<Func<T, TProperty>> mapPropertyExpression,
string wmiProperty
)
Public Function AddProperty(Of TProperty) (
mapPropertyExpression As Expression(Of Func(Of T, TProperty)),
wmiProperty As String
) As IWmiQueryBuilder(Of T)
public:
generic<typename TProperty>
virtual IWmiQueryBuilder<T>^ AddProperty(
Expression<Func<T, TProperty>^>^ mapPropertyExpression,
String^ wmiProperty
) sealed
abstract AddProperty :
mapPropertyExpression : Expression<Func<'T, 'TProperty>> *
wmiProperty : string -> IWmiQueryBuilder<'T>
override 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:
IWmiQueryBuilderTImplements
IWmiQueryBuilderTAddPropertyTProperty(ExpressionFuncT, TProperty, String)See Also