Skip to content

Latest commit

 

History

History
68 lines (53 loc) · 1.84 KB

nf-dbgmodel-bindreadonlyproperty.md

File metadata and controls

68 lines (53 loc) · 1.84 KB
UID title description ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.lib req.dll req.irql req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library targetos tech.root ms.custom f1_keywords topic_type api_type api_location api_name
NF:dbgmodel.BindReadOnlyProperty
BindReadOnlyProperty(this, &MyClass::GetMyProperty, &MyClass::SetMyProperty) function (dbgmodel.h)
A binder which converts an instance methods on a class to a read only property accessor.
09/28/2018
BindReadOnlyProperty function
BindReadOnlyProperty
dbgmodel.h
Windows
debugger
RS5
BindReadOnlyProperty
dbgmodel/BindReadOnlyProperty
apiref
HeaderDef
dbgmodel.h
BindReadOnlyProperty

BindReadOnlyProperty(this, &MyClass::GetMyProperty, &MyClass::SetMyProperty) function (dbgmodel.h)

-description

A binder which converts an instance methods on a class to a read only property accessor. The class must be IUnknown derived. The returned binder will hold reference on the class object.

Usage: BindReadOnlyProperty(this, &MyClass::GetMyProperty, &MyClass::SetMyProperty)

-parameters

-param classObject

The instance of a given class to which the newly created read-only property accessor will be bound.

-param getMethod

A pointer-to-member function pointer of signature (PCWSTR, IModelObject *, IModelObject**) which will act as the getter for the newly created read-only property accessor.

-returns

This function returns Microsoft::WRL::ComPtr<IModelPropertyAccessor>.

-remarks

-see-also