Show/Hide Toolbars

XSharp

NoteThis command is only available in the FOXPRO dialect

Purpose

Defines method and event functions and procedures for the class definition.

Syntax

 [Modifiers] FUNCTION | PROCEDURE Name[_ACCESS |_ASSIGN]

    ([cParamName | cArrayName[] [AS Type][@]]) [AS Type]

    [HELPSTRING cHelpString] | THIS_ACCESS(cMemberName) [NODEFAULT]

       cStatements

 [ENDFUNC | ENDPROC]]

 

See the topics for FUNCTION and PROCEDURE for more details.

Arguments

_ACCESSThe _ACCESS or _ASSIGN suffixes specify to create an Access or Assign method for a property with the same name.
_ASSIGN

 

HELPSTRINGThe HELPSTRING clause is not supported in X#

 

THIS_ACCESSThe THIS_ACCESS clause is not supported in X#

 

NODEFAULTThe NODEFAULT clause is not supported in X#

 

ENDFUNC This may also be written as END FUNCTION

 

ENDPROC This may also be written as END PROCEDURE