Given that a VB can define a square in a script, to specify a default property for that class Any way
Eg
Category MyClass Private myName Get Public Property Name () name = My name end property end class
By the way Also I can say that name
is the default property?
NB: To do this, in VB6, one attribute will be added to the property, but it does not work in VbScript
Get public property names () attribute names. VB_MemberFlags = "200" name = Stran end property
Use the keyword:
Get the public default asset name name = myName end property
edit: using classes in VBScript Here are some tutorials and reference articles, hope you find them useful:
-
-
-
-
(section class module )
-
Comments
Post a Comment