Düzenle

Aracılığıyla paylaş


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