VBS Tutorial: Object-class Object _vbs

Source: Internet
Author: User
Tags class definition

Class Object

The object created using the Class statement. Provides access to a variety of events for a class.

Description

Explicitly declaring a variable as Class type is not allowed. In the context of VBScript, the term "class object" refers to any object defined with the VBScript class statement.

After you have established a class definition using the class statement, you can create an instance of the class in the following form:

classname

Since VBScript is a late-bound language, the following practices are not allowed:

classname

Or

Dim XX = New classname

Or

Set X = New Scripting.FileSystemObject

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.