宣告和常數摘要 (Visual Basic)

Visual Basic 語言關鍵字和執行階段程式庫成員的組織方式,會以目的和使用方式為依據。

動作 語言項目
指派值。 GetProperty
宣告變數或常數。 ConstDimPrivateProtectedPublicShadowsSharedStatic
宣告類別、委派、列舉、模組、命名空間或結構。 ClassDelegateEnumModuleNamespaceStructure
建立物件。 CreateObjectGetObjectNew
取得物件的相關資訊。 GetTypeIsArrayIsDateIsDBNullIsErrorIsNothingIsNumericIsReferenceSystemTypeNameTypeNameVarTypeVbTypeName
參考目前的物件。 Me
需要明確的變數宣告。 Option ExplicitOption Strict
處理事件。 AddHandlerEventRaiseEventRemoveHandler
實作繼承。 InheritsMustInheritMustOverrideMyBaseMyClassNewNotInheritableNotOverridableOverloadsOverridableOverrides

另請參閱