Date: 02-16-2022
Return to Index
created by gbSnippets
OVERRIDE PROPERTY Get name <DispID> ALIAS "altname" (var As Type) THREADSAFE As Type
Property = expression
END PROPERTY
At
These are Optional:
OVERRIDE
DISPID
ALIAS
THREADSAFE
As Type
You can access a PROPERTY GET with:
DIM ObjVar AS MyInterface
LET ObjVar = NEWCOM Prgid$
1. ObjVar.Prop1(param) TO var
2. CALL ObjVar.Prop1(param) TO var
3. var = ObjVar.Prop1(param)
You can access a PROPERTY SET with:
DIM ObjVar AS MyInterface
LET ObjVar = NEWCOM Prgid$
1. ObjVar.Prop1(param) = expr
2. CALL ObjVar.Prop1(param) = expr
'gbs_01355
'Date: 05-11-2013
http://www.garybeene.com/sw/gbsnippets.htm