Click or drag to resize

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
)

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: IWmiQueryBuilderT
See Also