Nota
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba mendaftar masuk atau menukar direktori.
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
Visual Basic provides several attributes that allow objects to interoperate with unmanaged code, and one attribute that enables module members to be accessed without the module name. The following table lists the attributes used by Visual Basic.
| Attribute | Description |
|---|---|
| ComClassAttribute | Instructs the compiler to add metadata that allows a class to be exposed as a COM object. |
| HideModuleNameAttribute | Allows the module members to be accessed using only the qualification needed for the module. |
| VBFixedArrayAttribute | Indicates that an array in a structure or non-local variable should be treated as a fixed-length array. |
| VBFixedStringAttribute | Indicates that a string should be treated as if it were fixed length. |
See also
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.