共用方式為


CLASS element

Specifies a class within a Java package.

Usage

<CLASS
  CLASSID = "id_string"
  NAME = "classname">
  child elements
</CLASS>

Attributes

Attribute Type Required Description

CLASSID

id_string

No

Hexadecimal value, in GUID format, that identifies the class file.

NAME

classname

Yes

String value representing the name of the class file. The .class file name extension is required.

Child elements

Element

ICON

ISBEAN

TYPELIB

Child element sequence

ICONISBEANTYPELIB

Parent elements

Element

PACKAGE

Examples

This example shows how to specify a class within a Java package.

<CLASS NAME="Browserbean" CLASSID="{01234567-89AB-CDEF-0123-456789ABCDEF}">
    <ISBEAN />
    <ICON FILENAME="Browser.ico" />
    <TYPELIB CLASSID="{01234567-89AB-CDEF-0123-456789ABCDEF}" />
</CLASS>

Element information

Minimum supported system

Windows XP
Can be empty No