WebMethodIsFunction - cWebObject
Determines if a web method is a function or a procedure
Type: Function
Return Data Type: Boolean
Parameters
| Parameter | Type | Description |
|---|---|---|
| hMessage | Handle | The message handle |
Syntax
Function WebMethodIsFunction Handle hMessage Returns Boolean
Call Example
Get WebMethodIsFunction hMessage to BooleanVariable
Description
Use this function to determine if a web method is a function or a procedure.
Use the WebPublishProcedure and WebPublishFunction commands to publish the message.
Return Value
Returns True if the method is a function, False for a procedure or if it is not found. An error is returned if the method is not found or published.