Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
COM
id
in
int
odl
out
ptr
ref
Expand Minimize

requestedit attribute

The [requestedit] attribute indicates that the property supports the OnRequestEdit notification.


[requestedit [,optional-attributes]] return-type function-name(params)

Parameters

optional-attributes

Zero or more MIDL attributes.

return-type

Specifies the return type of the function.

function-name

Specifies the name of the function in the IDL file.

params

Zero or more function parameters.

Remarks

Supporting OnRequestEdit notification means that, before a change is made, the object will send the client a request for permission to change a property. An object can support data binding but not have this attribute.

Flags

FUNCFLAG_FREQUESTEDIT, VARFLAG_FREQUESTEDIT

Examples

properties:
    [propget, helpstring("A useful comment"), bindable, defaultbind,
     displaybind, requestedit] long Func1(void);

See also

TYPEFLAGS
ODL File Syntax
ODL File Example
Generating a Type Library With MIDL

 

 

Community Additions

ADD
Show:
© 2015 Microsoft