Method Attributes
The following attributes apply to the methods in a class, coclass, or interface.
Attribute |
Description |
---|---|
Indicates that the property supports data binding. |
|
Enables a nonremotable function to be mapped to a remote function. |
|
Lets you define your own attribute. |
|
Binds a specified column to the rowset. |
|
Creates an OLE DB command. |
|
Associates the specified member variable with an input or output parameter and delimits the variable. |
|
Creates a connection to a data source. |
|
Opens an OLE DB table. |
|
Indicates the single, bindable property that best represents the object. |
|
Used for Visual Basic code optimization. |
|
Indicates a property that should be displayed to the user as bindable. |
|
Specifies a context ID that lets the user view information about this element in the Help file. |
|
Sets the name of the Help file for a type library. |
|
Specifies a character string that is used to describe the element to which it applies. |
|
Specifies the ID of a help topic in an .hlp or .chm file. |
|
Specifies the name of the DLL to use to perform document string lookup (localization). |
|
Indicates that the item exists but should not be displayed in a user-oriented browser. |
|
Specifies a DISPID for a member function (either a property or a method, in an interface or dispinterface). |
|
Indicates that the database will be notified immediately of all changes to a property of a data-bound object. |
|
Indicates that a parameter is to be passed from the calling procedure to the called procedure. |
|
Allows you to use the MIDL compiler as a header generator when used in the interface header. When used in an individual function, designates a local procedure for which no stubs are generated. |
|
Indicates that an interface member should not be displayed in a property browser. |
|
Specifies a property accessor function. |
|
Specifies a property-setting function. |
|
Specifies a property-setting function that uses a reference instead of a value. |
|
Designates a pointer as a full pointer. |
|
Specifies a range of allowable values for arguments or fields whose values are set at run time. |
|
Indicates that the property supports the OnRequestEdit notification. |
|
Specifies that a member of a module, interface, or dispinterface cannot be called arbitrarily. |
|
Specifies the data type of the SAFEARRAY structure. |
|
Specifies the control's source interfaces for connection points on a class. On a property or method, the source attribute indicates that the member returns an object or VARIANT that is a source of events. |
|
Synchronizes access to the target method. |
|
Apply this attribute to a method in a request handler to expose it as a replacement method associated with a tag name. |
|
Specifies that the function take a variable number of arguments. |