Shadows |
Ombrage |
---|---|
Visual Basic .NET (VB .NET) |
Syntaxe
[ attributelist ] [ accessmodifier ] [ Shadows ] [ MustInherit | NotInheritable ] [ Partial ] _ Class name [ ( Of typelist ) ] [ Inherits classname ] [ Implements interfacenames ] [ statements ] End Class |
[ attributelist ] [ accessmodifier ] [ Shadows ] Const constantlist |
[ attributelist ] [ accessmodifier ] [ Shadows ] [ Overloads ] _ Declare [ charsetmodifier ] [ Sub ] name Lib "libname" _ [ Alias "aliasname" ] [ ([ parameterlist ]) ] |
[ attributelist ] [ accessmodifier ] [ Shadows ] [ Overloads ] _ Declare [ charsetmodifier ] [ Function ] name Lib "libname" _ [ Alias "aliasname" ] [ ([ parameterlist ]) ] [ As returntype ] |
[ attrlist ] [ accessmodifier ] _ [ Shadows ] Delegate [ Sub | Function ] name [( Of typeparamlist )] [([ parameterlist ])] [ As type ] |
[ attributelist ] [ accessmodifier ] [[ Shared ] [ Shadows ] | [ Static ]] [ ReadOnly ] Dim [ WithEvents ] variablelist |
[ attributelist ] [ accessmodifier ] [ Shadows ] Enum enumerationname [ As datatype ] memberlist End Enum |
[ attrlist ] [ accessmodifier ] _ [ Shared ] [ Shadows ] Event eventname[(parameterlist)] _ [ Implements implementslist ] |
[ attrlist ] [ accessmodifier ] _ [ Shared ] [ Shadows ] Event eventname As delegatename _ [ Implements implementslist ] |
[ attrlist ] [ accessmodifier ] _ [ Shared ] [ Shadows ] Custom Event eventname As delegatename _ [ Implements implementslist ] [ attrlist ] AddHandler(ByVal value As delegatename) [ statements ] End AddHandler [ attrlist ] RemoveHandler(ByVal value As delegatename) [ statements ] End RemoveHandler [ attrlist ] RaiseEvent(delegatesignature) [ statements ] End RaiseEvent End Event |
[ attributelist ] [ accessmodifier ] [ proceduremodifiers ] [ Shared ] [ Shadows ] [ Async | Iterator ] Function name [ (Of typeparamlist) ] [ (parameterlist) ] [ As returntype ] [ Implements implementslist | Handles eventlist ] [ statements ] [ Exit Function ] [ statements ] End Function |
[ attributelist ] [ accessmodifier ] [ Shadows ] _ Interface name [ ( Of typelist ) ] [ Inherits interfacenames ] [ [ modifiers ] Property membername ] [ [ modifiers ] Function membername ] [ [ modifiers ] Sub membername ] [ [ modifiers ] Event membername ] [ [ modifiers ] Interface membername ] [ [ modifiers ] Class membername ] [ [ modifiers ] Structure membername ] End Interface |
[ attributelist ] [ Default ] [ accessmodifier ] [ propertymodifiers ] [ Shared ] [ Shadows ] [ ReadOnly | WriteOnly ] [ Iterator ] Property name ( [ parameterlist ] ) [ As returntype ] [ Implements implementslist ] [ attributelist ] [ accessmodifier ] Get [ statements ] End Get [ attributelist ] [ accessmodifier ] Set ( ByVal value As returntype [, parameterlist ] ) [ statements ] End Set End Property |
[ attributelist ] [ Default ] [ accessmodifier ] [ propertymodifiers ] [ Shared ] [ Shadows ] [ ReadOnly | WriteOnly ] Property name ( [ parameterlist ] ) [ As returntype ] [ Implements implementslist ] |
[ attributelist ] [ accessmodifier ] [ Shadows ] [ Partial ] _ Structure name [ ( Of typelist ) ] [ Implements interfacenames ] [ datamemberdeclarations ] [ methodmemberdeclarations ] End Structure |
[ attributelist ] [ Partial ] [ accessmodifier ] [ proceduremodifiers ] [ Shared ] [ Shadows ] [ Async ] Sub name [ (Of typeparamlist) ] [ (parameterlist) ] [ Implements implementslist | Handles eventlist ] [ statements ] [ Exit Sub ] [ statements ] End Sub |
Description
Ce mot réservé permet d'indiquer qu'un élément de programmation déclaré redéclare et masque un élément du même nom, ou un ensemble d'éléments surchargés, dans une classe de base.
Dernière mise à jour : Mardi, le 24 Août 2021