CINXE.COM

Visual Basic .NET — Wikipédia

<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available" lang="fr" dir="ltr"> <head> <meta charset="UTF-8"> <title>Visual Basic .NET — Wikipédia</title> <script>(function(){var className="client-js vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available";var cookie=document.cookie.match(/(?:^|; )frwikimwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":[",\t."," \t,"],"wgDigitTransformTable":["",""], "wgDefaultDateFormat":"dmy","wgMonthNames":["","janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],"wgRequestId":"26679319-c9fd-47c1-a2d3-e24ac5d10e83","wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"Visual_Basic_.NET","wgTitle":"Visual Basic .NET","wgCurRevisionId":211175153,"wgRevisionId":211175153,"wgArticleId":260294,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Page utilisant P856","Page utilisant P1195","Article utilisant une Infobox","Article contenant un appel à traduction en anglais","Portail:Microsoft/Articles liés","Portail:Informatique/Articles liés","Portail:Programmation informatique/Articles liés","Langage de programmation","Langage orienté objet","Environnement de développement intégré",".NET Framework"],"wgPageViewLanguage":"fr","wgPageContentLanguage":"fr","wgPageContentModel": "wikitext","wgRelevantPageName":"Visual_Basic_.NET","wgRelevantArticleId":260294,"wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgNoticeProject":"wikipedia","wgCiteReferencePreviewsActive":true,"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgPopupsFlags":0,"wgVisualEditor":{"pageLanguageCode":"fr","pageLanguageDir":"ltr","pageVariantFallbacks":"fr"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":true,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":20000,"wgRelatedArticlesCompat":[],"wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgWikibaseItemId":"Q50077","wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform", "platformVersion"],"GEHomepageSuggestedEditsEnableTopics":true,"wgGETopicsMatchModeEnabled":false,"wgGEStructuredTaskRejectionReasonTextInputEnabled":false,"wgGELevelingUpEnabledForUser":false};RLSTATE={"ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.cite.styles":"ready","ext.pygments":"ready","mediawiki.page.gallery.styles":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","wikibase.client.init":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["ext.cite.ux-enhancements","ext.pygments.view","mediawiki.page.media","site","mediawiki.page.ready","mediawiki.toc","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.gadget.ArchiveLinks","ext.gadget.Wdsearch", "ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.popups","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.interface","ext.cx.eventlogging.campaigns","ext.cx.uls.quick.actions","wikibase.client.vector-2022","ext.checkUser.clientHints","ext.growthExperiments.SuggestedEditSession","wikibase.sidebar.tracking"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=fr&amp;modules=ext.cite.styles%7Cext.pygments%2CwikimediaBadges%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediamessages.styles%7Cmediawiki.page.gallery.styles%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.init&amp;only=styles&amp;skin=vector-2022"> <script async="" src="/w/load.php?lang=fr&amp;modules=startup&amp;only=scripts&amp;raw=1&amp;skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=fr&amp;modules=site.styles&amp;only=styles&amp;skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.4"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta property="og:image" content="https://upload.wikimedia.org/wikipedia/commons/thumb/4/40/VB.NET_Logo.svg/1200px-VB.NET_Logo.svg.png"> <meta property="og:image:width" content="1200"> <meta property="og:image:height" content="1200"> <meta property="og:image" content="https://upload.wikimedia.org/wikipedia/commons/thumb/4/40/VB.NET_Logo.svg/800px-VB.NET_Logo.svg.png"> <meta property="og:image:width" content="800"> <meta property="og:image:height" content="800"> <meta property="og:image" content="https://upload.wikimedia.org/wikipedia/commons/thumb/4/40/VB.NET_Logo.svg/640px-VB.NET_Logo.svg.png"> <meta property="og:image:width" content="640"> <meta property="og:image:height" content="640"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="Visual Basic .NET — Wikipédia"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//fr.m.wikipedia.org/wiki/Visual_Basic_.NET"> <link rel="alternate" type="application/x-wiki" title="Modifier" href="/w/index.php?title=Visual_Basic_.NET&amp;action=edit"> <link rel="apple-touch-icon" href="/static/apple-touch/wikipedia.png"> <link rel="icon" href="/static/favicon/wikipedia.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Wikipédia (fr)"> <link rel="EditURI" type="application/rsd+xml" href="//fr.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://fr.wikipedia.org/wiki/Visual_Basic_.NET"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.fr"> <link rel="alternate" type="application/atom+xml" title="Flux Atom de Wikipédia" href="/w/index.php?title=Sp%C3%A9cial:Modifications_r%C3%A9centes&amp;feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject mw-editable page-Visual_Basic_NET rootpage-Visual_Basic_NET skin-vector-2022 action-view"><a class="mw-jump-link" href="#bodyContent">Aller au contenu</a> <div class="vector-header-container"> <header class="vector-header mw-header"> <div class="vector-header-start"> <nav class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" > <input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="Menu principal" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-menu mw-ui-icon-wikimedia-menu"></span> <span class="vector-dropdown-label-text">Menu principal</span> </label> <div class="vector-dropdown-content"> <div id="vector-main-menu-unpinned-container" class="vector-unpinned-container"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div class="vector-pinnable-header vector-main-menu-pinnable-header vector-pinnable-header-unpinned" data-feature-name="main-menu-pinned" data-pinnable-element-id="vector-main-menu" data-pinned-container-id="vector-main-menu-pinned-container" data-unpinned-container-id="vector-main-menu-unpinned-container" > <div class="vector-pinnable-header-label">Menu principal</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">déplacer vers la barre latérale</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">masquer</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Navigation </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/Wikip%C3%A9dia:Accueil_principal" title="Accueil général [z]" accesskey="z"><span>Accueil</span></a></li><li id="n-thema" class="mw-list-item"><a href="/wiki/Portail:Accueil"><span>Portails thématiques</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Sp%C3%A9cial:Page_au_hasard" title="Affiche un article au hasard [x]" accesskey="x"><span>Article au hasard</span></a></li><li id="n-contact" class="mw-list-item"><a href="/wiki/Wikip%C3%A9dia:Contact"><span>Contact</span></a></li> </ul> </div> </div> <div id="p-Contribuer" class="vector-menu mw-portlet mw-portlet-Contribuer" > <div class="vector-menu-heading"> Contribuer </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-aboutwp" class="mw-list-item"><a href="/wiki/Aide:D%C3%A9buter"><span>Débuter sur Wikipédia</span></a></li><li id="n-help" class="mw-list-item"><a href="/wiki/Aide:Accueil" title="Accès à l’aide"><span>Aide</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Wikip%C3%A9dia:Accueil_de_la_communaut%C3%A9" title="À propos du projet, ce que vous pouvez faire, où trouver les informations"><span>Communauté</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Sp%C3%A9cial:Modifications_r%C3%A9centes" title="Liste des modifications récentes sur le wiki [r]" accesskey="r"><span>Modifications récentes</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Wikip%C3%A9dia:Accueil_principal" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/wikipedia.png" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="Wikipédia" src="/static/images/mobile/copyright/wikipedia-wordmark-fr.svg" style="width: 7.4375em; height: 1.125em;"> <img class="mw-logo-tagline" alt="l&#039;encyclopédie libre" src="/static/images/mobile/copyright/wikipedia-tagline-fr.svg" width="120" height="13" style="width: 7.5em; height: 0.8125em;"> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box-show-thumbnail vector-search-box-auto-expand-width vector-search-box"> <a href="/wiki/Sp%C3%A9cial:Recherche" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Rechercher sur Wikipédia [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Rechercher</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail cdx-typeahead-search--auto-expand-width"> <form action="/w/index.php" id="searchform" class="cdx-search-input cdx-search-input--has-end-button"> <div id="simpleSearch" class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="Rechercher sur Wikipédia" aria-label="Rechercher sur Wikipédia" autocapitalize="sentences" title="Rechercher sur Wikipédia [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Spécial:Recherche"> </div> <button class="cdx-button cdx-search-input__end-button">Rechercher</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Outils personnels"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-userpage" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <nav class="vector-appearance-landmark" aria-label="Apparence"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="Modifier l&#039;apparence de la taille, de la largeur et de la couleur de la police de la page" > <input type="checkbox" id="vector-appearance-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-appearance-dropdown" class="vector-dropdown-checkbox " aria-label="Apparence" > <label id="vector-appearance-dropdown-label" for="vector-appearance-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-appearance mw-ui-icon-wikimedia-appearance"></span> <span class="vector-dropdown-label-text">Apparence</span> </label> <div class="vector-dropdown-content"> <div id="vector-appearance-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div id="p-vector-user-menu-notifications" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=C13_fr.wikipedia.org&amp;uselang=fr" class=""><span>Faire un don</span></a> </li> <li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Sp%C3%A9cial:Cr%C3%A9er_un_compte&amp;returnto=Visual+Basic+.NET" title="Nous vous encourageons à créer un compte utilisateur et vous connecter ; ce n’est cependant pas obligatoire." class=""><span>Créer un compte</span></a> </li> <li id="pt-login-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Sp%C3%A9cial:Connexion&amp;returnto=Visual+Basic+.NET" title="Nous vous encourageons à vous connecter ; ce n’est cependant pas obligatoire. [o]" accesskey="o" class=""><span>Se connecter</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out" title="Plus d’options" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="Outils personnels" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">Outils personnels</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="Menu utilisateur" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=C13_fr.wikipedia.org&amp;uselang=fr"><span>Faire un don</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Sp%C3%A9cial:Cr%C3%A9er_un_compte&amp;returnto=Visual+Basic+.NET" title="Nous vous encourageons à créer un compte utilisateur et vous connecter ; ce n’est cependant pas obligatoire."><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Créer un compte</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Sp%C3%A9cial:Connexion&amp;returnto=Visual+Basic+.NET" title="Nous vous encourageons à vous connecter ; ce n’est cependant pas obligatoire. [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Se connecter</span></a></li> </ul> </div> </div> <div id="p-user-menu-anon-editor" class="vector-menu mw-portlet mw-portlet-user-menu-anon-editor" > <div class="vector-menu-heading"> Pages pour les contributeurs déconnectés <a href="/wiki/Aide:Premiers_pas" aria-label="En savoir plus sur la contribution"><span>en savoir plus</span></a> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Sp%C3%A9cial:Mes_contributions" title="Une liste des modifications effectuées depuis cette adresse IP [y]" accesskey="y"><span>Contributions</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Sp%C3%A9cial:Mes_discussions" title="La page de discussion pour les contributions depuis cette adresse IP [n]" accesskey="n"><span>Discussion</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><!-- CentralNotice --></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> <div class="vector-sticky-pinned-container"> <nav id="mw-panel-toc" aria-label="Sommaire" data-event-name="ui.sidebar-toc" class="mw-table-of-contents-container vector-toc-landmark"> <div id="vector-toc-pinned-container" class="vector-pinned-container"> <div id="vector-toc" class="vector-toc vector-pinnable-element"> <div class="vector-pinnable-header vector-toc-pinnable-header vector-pinnable-header-pinned" data-feature-name="toc-pinned" data-pinnable-element-id="vector-toc" > <h2 class="vector-pinnable-header-label">Sommaire</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">déplacer vers la barre latérale</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">masquer</button> </div> <ul class="vector-toc-contents" id="mw-panel-toc-list"> <li id="toc-mw-content-text" class="vector-toc-list-item vector-toc-level-1"> <a href="#" class="vector-toc-link"> <div class="vector-toc-text">Début</div> </a> </li> <li id="toc-Les_IDE_(environnements_de_développement)" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Les_IDE_(environnements_de_développement)"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>Les IDE (environnements de développement)</span> </div> </a> <ul id="toc-Les_IDE_(environnements_de_développement)-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Versions" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Versions"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>Versions</span> </div> </a> <button aria-controls="toc-Versions-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Afficher / masquer la sous-section Versions</span> </button> <ul id="toc-Versions-sublist" class="vector-toc-list"> <li id="toc-Évolutions_:_de_VB6_à_VB7_(non_exhaustif)" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Évolutions_:_de_VB6_à_VB7_(non_exhaustif)"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.1</span> <span>Évolutions : de VB6 à VB7 (non exhaustif)</span> </div> </a> <ul id="toc-Évolutions_:_de_VB6_à_VB7_(non_exhaustif)-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Évolutions_:_VB7_à_VB8_(non_exhaustif)" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Évolutions_:_VB7_à_VB8_(non_exhaustif)"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.2</span> <span>Évolutions : VB7 à VB8 (non exhaustif)</span> </div> </a> <ul id="toc-Évolutions_:_VB7_à_VB8_(non_exhaustif)-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Évolutions_:_VB8_à_VB9_(non_exhaustif)" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Évolutions_:_VB8_à_VB9_(non_exhaustif)"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.3</span> <span>Évolutions : VB8 à VB9 (non exhaustif)</span> </div> </a> <ul id="toc-Évolutions_:_VB8_à_VB9_(non_exhaustif)-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Évolutions_:_VB9_à_VB10" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Évolutions_:_VB9_à_VB10"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.4</span> <span>Évolutions : VB9 à VB10</span> </div> </a> <ul id="toc-Évolutions_:_VB9_à_VB10-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Quelques_différences_entre_C#_et_VB.NET_(non_exhaustif)" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Quelques_différences_entre_C#_et_VB.NET_(non_exhaustif)"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>Quelques différences entre C# et VB.NET (non exhaustif)</span> </div> </a> <ul id="toc-Quelques_différences_entre_C#_et_VB.NET_(non_exhaustif)-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Quelques_exemples_de_code_en_VB.NET" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Quelques_exemples_de_code_en_VB.NET"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>Quelques exemples de code en VB.NET</span> </div> </a> <button aria-controls="toc-Quelques_exemples_de_code_en_VB.NET-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Afficher / masquer la sous-section Quelques exemples de code en VB.NET</span> </button> <ul id="toc-Quelques_exemples_de_code_en_VB.NET-sublist" class="vector-toc-list"> <li id="toc-Hello_World_en_VB.NET_(Mode_Console)" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Hello_World_en_VB.NET_(Mode_Console)"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.1</span> <span>Hello World en VB.NET (Mode Console)</span> </div> </a> <ul id="toc-Hello_World_en_VB.NET_(Mode_Console)-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Hello_World_en_VB.NET_(Mode_Windows_Forms)" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Hello_World_en_VB.NET_(Mode_Windows_Forms)"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.2</span> <span>Hello World en VB.NET (Mode Windows Forms)</span> </div> </a> <ul id="toc-Hello_World_en_VB.NET_(Mode_Windows_Forms)-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Boucles_et_conditions" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Boucles_et_conditions"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.3</span> <span>Boucles et conditions</span> </div> </a> <ul id="toc-Boucles_et_conditions-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Les_tableaux" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Les_tableaux"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.4</span> <span>Les tableaux</span> </div> </a> <ul id="toc-Les_tableaux-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Gestion_des_exceptions" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Gestion_des_exceptions"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.5</span> <span>Gestion des exceptions</span> </div> </a> <ul id="toc-Gestion_des_exceptions-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Exemple_d&#039;utilisation_de_LINQ" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Exemple_d&#039;utilisation_de_LINQ"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.6</span> <span>Exemple d'utilisation de LINQ</span> </div> </a> <ul id="toc-Exemple_d&#039;utilisation_de_LINQ-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Exemple_d&#039;un_événement_simple" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Exemple_d&#039;un_événement_simple"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.7</span> <span>Exemple d'un événement simple</span> </div> </a> <ul id="toc-Exemple_d&#039;un_événement_simple-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Exemple_d&#039;un_code_appelant_une_fonction" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Exemple_d&#039;un_code_appelant_une_fonction"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.8</span> <span>Exemple d'un code appelant une fonction</span> </div> </a> <ul id="toc-Exemple_d&#039;un_code_appelant_une_fonction-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Identité_visuelle" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Identité_visuelle"> <div class="vector-toc-text"> <span class="vector-toc-numb">5</span> <span>Identité visuelle</span> </div> </a> <ul id="toc-Identité_visuelle-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Voir_aussi" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Voir_aussi"> <div class="vector-toc-text"> <span class="vector-toc-numb">6</span> <span>Voir aussi</span> </div> </a> <button aria-controls="toc-Voir_aussi-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Afficher / masquer la sous-section Voir aussi</span> </button> <ul id="toc-Voir_aussi-sublist" class="vector-toc-list"> <li id="toc-Articles_connexes" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Articles_connexes"> <div class="vector-toc-text"> <span class="vector-toc-numb">6.1</span> <span>Articles connexes</span> </div> </a> <ul id="toc-Articles_connexes-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Notes_et_références" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Notes_et_références"> <div class="vector-toc-text"> <span class="vector-toc-numb">6.2</span> <span>Notes et références</span> </div> </a> <ul id="toc-Notes_et_références-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Liens_externes" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Liens_externes"> <div class="vector-toc-text"> <span class="vector-toc-numb">6.3</span> <span>Liens externes</span> </div> </a> <ul id="toc-Liens_externes-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> </ul> </div> </div> </nav> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <nav aria-label="Sommaire" class="vector-toc-landmark"> <div id="vector-page-titlebar-toc" class="vector-dropdown vector-page-titlebar-toc vector-button-flush-left" > <input type="checkbox" id="vector-page-titlebar-toc-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-titlebar-toc" class="vector-dropdown-checkbox " aria-label="Basculer la table des matières" > <label id="vector-page-titlebar-toc-label" for="vector-page-titlebar-toc-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-listBullet mw-ui-icon-wikimedia-listBullet"></span> <span class="vector-dropdown-label-text">Basculer la table des matières</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-titlebar-toc-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-main">Visual Basic .NET</span></h1> <div id="p-lang-btn" class="vector-dropdown mw-portlet mw-portlet-lang" > <input type="checkbox" id="p-lang-btn-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-lang-btn" class="vector-dropdown-checkbox mw-interlanguage-selector" aria-label="Aller à un article dans une autre langue. Disponible en 42 langues." > <label id="p-lang-btn-label" for="p-lang-btn-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--action-progressive mw-portlet-lang-heading-42" aria-hidden="true" ><span class="vector-icon mw-ui-icon-language-progressive mw-ui-icon-wikimedia-language-progressive"></span> <span class="vector-dropdown-label-text">42 langues</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="interlanguage-link interwiki-ar mw-list-item"><a href="https://ar.wikipedia.org/wiki/%D9%81%D9%8A%D8%AC%D9%88%D8%A7%D9%84_%D8%A8%D9%8A%D8%B3%D9%83_%D8%AF%D9%88%D8%AA_%D9%86%D8%AA" title="فيجوال بيسك دوت نت – arabe" lang="ar" hreflang="ar" data-title="فيجوال بيسك دوت نت" data-language-autonym="العربية" data-language-local-name="arabe" class="interlanguage-link-target"><span>العربية</span></a></li><li class="interlanguage-link interwiki-arz mw-list-item"><a href="https://arz.wikipedia.org/wiki/%D8%A7%D9%84%D9%81%D8%AC%D9%88%D8%A7%D9%84_%D8%A8%D9%8A%D8%B3%D9%83_%D8%AF%D9%88%D8%AA_%D9%86%D8%AA" title="الفجوال بيسك دوت نت – arabe égyptien" lang="arz" hreflang="arz" data-title="الفجوال بيسك دوت نت" data-language-autonym="مصرى" data-language-local-name="arabe égyptien" class="interlanguage-link-target"><span>مصرى</span></a></li><li class="interlanguage-link interwiki-az mw-list-item"><a href="https://az.wikipedia.org/wiki/Visual_Basic_(.NET)" title="Visual Basic (.NET) – azerbaïdjanais" lang="az" hreflang="az" data-title="Visual Basic (.NET)" data-language-autonym="Azərbaycanca" data-language-local-name="azerbaïdjanais" class="interlanguage-link-target"><span>Azərbaycanca</span></a></li><li class="interlanguage-link interwiki-bn mw-list-item"><a href="https://bn.wikipedia.org/wiki/%E0%A6%AD%E0%A6%BF%E0%A6%9C%E0%A7%81%E0%A6%AF%E0%A6%BC%E0%A6%BE%E0%A6%B2_%E0%A6%AC%E0%A7%87%E0%A6%B8%E0%A6%BF%E0%A6%95_%E0%A6%A1%E0%A6%9F_%E0%A6%A8%E0%A7%87%E0%A6%9F" title="ভিজুয়াল বেসিক ডট নেট – bengali" lang="bn" hreflang="bn" data-title="ভিজুয়াল বেসিক ডট নেট" data-language-autonym="বাংলা" data-language-local-name="bengali" class="interlanguage-link-target"><span>বাংলা</span></a></li><li class="interlanguage-link interwiki-cs mw-list-item"><a href="https://cs.wikipedia.org/wiki/Visual_Basic_.NET" title="Visual Basic .NET – tchèque" lang="cs" hreflang="cs" data-title="Visual Basic .NET" data-language-autonym="Čeština" data-language-local-name="tchèque" class="interlanguage-link-target"><span>Čeština</span></a></li><li class="interlanguage-link interwiki-da mw-list-item"><a href="https://da.wikipedia.org/wiki/Visual_Basic_.NET" title="Visual Basic .NET – danois" lang="da" hreflang="da" data-title="Visual Basic .NET" data-language-autonym="Dansk" data-language-local-name="danois" class="interlanguage-link-target"><span>Dansk</span></a></li><li class="interlanguage-link interwiki-de mw-list-item"><a href="https://de.wikipedia.org/wiki/Visual_Basic_.NET" title="Visual Basic .NET – allemand" lang="de" hreflang="de" data-title="Visual Basic .NET" data-language-autonym="Deutsch" data-language-local-name="allemand" class="interlanguage-link-target"><span>Deutsch</span></a></li><li class="interlanguage-link interwiki-en mw-list-item"><a href="https://en.wikipedia.org/wiki/Visual_Basic_(.NET)" title="Visual Basic (.NET) – anglais" lang="en" hreflang="en" data-title="Visual Basic (.NET)" data-language-autonym="English" data-language-local-name="anglais" class="interlanguage-link-target"><span>English</span></a></li><li class="interlanguage-link interwiki-es mw-list-item"><a href="https://es.wikipedia.org/wiki/Visual_Basic_.NET" title="Visual Basic .NET – espagnol" lang="es" hreflang="es" data-title="Visual Basic .NET" data-language-autonym="Español" data-language-local-name="espagnol" class="interlanguage-link-target"><span>Español</span></a></li><li class="interlanguage-link interwiki-et mw-list-item"><a href="https://et.wikipedia.org/wiki/Visual_Basic_2005" title="Visual Basic 2005 – estonien" lang="et" hreflang="et" data-title="Visual Basic 2005" data-language-autonym="Eesti" data-language-local-name="estonien" class="interlanguage-link-target"><span>Eesti</span></a></li><li class="interlanguage-link interwiki-fa mw-list-item"><a href="https://fa.wikipedia.org/wiki/%D9%88%DB%8C%DA%98%D9%88%D8%A7%D9%84_%D8%A8%DB%8C%D8%B3%DB%8C%DA%A9_%D8%AF%D8%A7%D8%AA%E2%80%8C%D9%86%D8%AA" title="ویژوال بیسیک دات‌نت – persan" lang="fa" hreflang="fa" data-title="ویژوال بیسیک دات‌نت" data-language-autonym="فارسی" data-language-local-name="persan" class="interlanguage-link-target"><span>فارسی</span></a></li><li class="interlanguage-link interwiki-he mw-list-item"><a href="https://he.wikipedia.org/wiki/Visual_Basic_.NET" title="Visual Basic .NET – hébreu" lang="he" hreflang="he" data-title="Visual Basic .NET" data-language-autonym="עברית" data-language-local-name="hébreu" class="interlanguage-link-target"><span>עברית</span></a></li><li class="interlanguage-link interwiki-hi mw-list-item"><a href="https://hi.wikipedia.org/wiki/%E0%A4%B5%E0%A4%BF%E0%A4%9C%E0%A4%BC%E0%A5%81%E0%A4%85%E0%A4%B2_%E0%A4%AC%E0%A5%87%E0%A4%B8%E0%A4%BF%E0%A4%95_%E0%A4%A1%E0%A5%89%E0%A4%9F%E0%A4%A8%E0%A5%87%E0%A4%9F" title="विज़ुअल बेसिक डॉटनेट – hindi" lang="hi" hreflang="hi" data-title="विज़ुअल बेसिक डॉटनेट" data-language-autonym="हिन्दी" data-language-local-name="hindi" class="interlanguage-link-target"><span>हिन्दी</span></a></li><li class="interlanguage-link interwiki-hu mw-list-item"><a href="https://hu.wikipedia.org/wiki/Visual_Basic_.NET" title="Visual Basic .NET – hongrois" lang="hu" hreflang="hu" data-title="Visual Basic .NET" data-language-autonym="Magyar" data-language-local-name="hongrois" class="interlanguage-link-target"><span>Magyar</span></a></li><li class="interlanguage-link interwiki-hy mw-list-item"><a href="https://hy.wikipedia.org/wiki/Visual_Basic_.NET" title="Visual Basic .NET – arménien" lang="hy" hreflang="hy" data-title="Visual Basic .NET" data-language-autonym="Հայերեն" data-language-local-name="arménien" class="interlanguage-link-target"><span>Հայերեն</span></a></li><li class="interlanguage-link interwiki-id mw-list-item"><a href="https://id.wikipedia.org/wiki/Visual_Basic_.NET" title="Visual Basic .NET – indonésien" lang="id" hreflang="id" data-title="Visual Basic .NET" data-language-autonym="Bahasa Indonesia" data-language-local-name="indonésien" class="interlanguage-link-target"><span>Bahasa Indonesia</span></a></li><li class="interlanguage-link interwiki-is mw-list-item"><a href="https://is.wikipedia.org/wiki/Visual_Basic_.NET" title="Visual Basic .NET – islandais" lang="is" hreflang="is" data-title="Visual Basic .NET" data-language-autonym="Íslenska" data-language-local-name="islandais" class="interlanguage-link-target"><span>Íslenska</span></a></li><li class="interlanguage-link interwiki-it mw-list-item"><a href="https://it.wikipedia.org/wiki/Visual_Basic_.NET" title="Visual Basic .NET – italien" lang="it" hreflang="it" data-title="Visual Basic .NET" data-language-autonym="Italiano" data-language-local-name="italien" class="interlanguage-link-target"><span>Italiano</span></a></li><li class="interlanguage-link interwiki-ja mw-list-item"><a href="https://ja.wikipedia.org/wiki/Visual_Basic_.NET" title="Visual Basic .NET – japonais" lang="ja" hreflang="ja" data-title="Visual Basic .NET" data-language-autonym="日本語" data-language-local-name="japonais" class="interlanguage-link-target"><span>日本語</span></a></li><li class="interlanguage-link interwiki-km mw-list-item"><a href="https://km.wikipedia.org/wiki/%E1%9E%9C%E1%9E%B8%E1%9E%A0%E1%9F%92%E1%9E%9F%E1%9E%BD%E1%9E%9B%E1%9E%94%E1%9F%81%E1%9E%A0%E1%9F%8A%E1%9F%92%E1%9E%9F%E1%9E%B7%E1%9E%80.%E1%9E%8E%E1%9F%81%E1%9E%8F" title="វីហ្សួលបេហ៊្សិក.ណេត – khmer" lang="km" hreflang="km" data-title="វីហ្សួលបេហ៊្សិក.ណេត" data-language-autonym="ភាសាខ្មែរ" data-language-local-name="khmer" class="interlanguage-link-target"><span>ភាសាខ្មែរ</span></a></li><li class="interlanguage-link interwiki-ko mw-list-item"><a href="https://ko.wikipedia.org/wiki/%EB%B9%84%EC%A3%BC%EC%96%BC_%EB%B2%A0%EC%9D%B4%EC%A7%81_%EB%8B%B7%EB%84%B7" title="비주얼 베이직 닷넷 – coréen" lang="ko" hreflang="ko" data-title="비주얼 베이직 닷넷" data-language-autonym="한국어" data-language-local-name="coréen" class="interlanguage-link-target"><span>한국어</span></a></li><li class="interlanguage-link interwiki-lo mw-list-item"><a href="https://lo.wikipedia.org/wiki/Visual_Basic_.NET" title="Visual Basic .NET – lao" lang="lo" hreflang="lo" data-title="Visual Basic .NET" data-language-autonym="ລາວ" data-language-local-name="lao" class="interlanguage-link-target"><span>ລາວ</span></a></li><li class="interlanguage-link interwiki-ml mw-list-item"><a href="https://ml.wikipedia.org/wiki/%E0%B4%B5%E0%B4%BF%E0%B4%B7%E0%B5%8D%E0%B4%B5%E0%B5%BD_%E0%B4%AC%E0%B5%87%E0%B4%B8%E0%B4%BF%E0%B4%95%E0%B5%8D_%E0%B4%A1%E0%B5%8B%E0%B4%9F%E0%B5%8D%E0%B4%9F%E0%B5%8D_%E0%B4%A8%E0%B5%86%E0%B4%B1%E0%B5%8D%E0%B4%B1%E0%B5%8D" title="വിഷ്വൽ ബേസിക് ഡോട്ട് നെറ്റ് – malayalam" lang="ml" hreflang="ml" data-title="വിഷ്വൽ ബേസിക് ഡോട്ട് നെറ്റ്" data-language-autonym="മലയാളം" data-language-local-name="malayalam" class="interlanguage-link-target"><span>മലയാളം</span></a></li><li class="interlanguage-link interwiki-ms mw-list-item"><a href="https://ms.wikipedia.org/wiki/Visual_Basic_.NET" title="Visual Basic .NET – malais" lang="ms" hreflang="ms" data-title="Visual Basic .NET" data-language-autonym="Bahasa Melayu" data-language-local-name="malais" class="interlanguage-link-target"><span>Bahasa Melayu</span></a></li><li class="interlanguage-link interwiki-nl mw-list-item"><a href="https://nl.wikipedia.org/wiki/Visual_Basic_.NET" title="Visual Basic .NET – néerlandais" lang="nl" hreflang="nl" data-title="Visual Basic .NET" data-language-autonym="Nederlands" data-language-local-name="néerlandais" class="interlanguage-link-target"><span>Nederlands</span></a></li><li class="interlanguage-link interwiki-no mw-list-item"><a href="https://no.wikipedia.org/wiki/Visual_Basic_.NET" title="Visual Basic .NET – norvégien bokmål" lang="nb" hreflang="nb" data-title="Visual Basic .NET" data-language-autonym="Norsk bokmål" data-language-local-name="norvégien bokmål" class="interlanguage-link-target"><span>Norsk bokmål</span></a></li><li class="interlanguage-link interwiki-pl mw-list-item"><a href="https://pl.wikipedia.org/wiki/Visual_Basic_.NET" title="Visual Basic .NET – polonais" lang="pl" hreflang="pl" data-title="Visual Basic .NET" data-language-autonym="Polski" data-language-local-name="polonais" class="interlanguage-link-target"><span>Polski</span></a></li><li class="interlanguage-link interwiki-pt mw-list-item"><a href="https://pt.wikipedia.org/wiki/Visual_Basic_.NET" title="Visual Basic .NET – portugais" lang="pt" hreflang="pt" data-title="Visual Basic .NET" data-language-autonym="Português" data-language-local-name="portugais" class="interlanguage-link-target"><span>Português</span></a></li><li class="interlanguage-link interwiki-ru mw-list-item"><a href="https://ru.wikipedia.org/wiki/Visual_Basic_.NET" title="Visual Basic .NET – russe" lang="ru" hreflang="ru" data-title="Visual Basic .NET" data-language-autonym="Русский" data-language-local-name="russe" class="interlanguage-link-target"><span>Русский</span></a></li><li class="interlanguage-link interwiki-si mw-list-item"><a href="https://si.wikipedia.org/wiki/%E0%B7%80%E0%B7%92%E0%B7%82%E0%B7%94%E0%B7%80%E0%B6%BD%E0%B7%8A_%E0%B6%B6%E0%B7%9A%E0%B7%83%E0%B7%92%E0%B6%9A%E0%B7%8A_.%E0%B6%B1%E0%B7%99%E0%B6%A7%E0%B7%8A" title="විෂුවල් බේසික් .නෙට් – cingalais" lang="si" hreflang="si" data-title="විෂුවල් බේසික් .නෙට්" data-language-autonym="සිංහල" data-language-local-name="cingalais" class="interlanguage-link-target"><span>සිංහල</span></a></li><li class="interlanguage-link interwiki-simple mw-list-item"><a href="https://simple.wikipedia.org/wiki/Visual_Basic_.NET" title="Visual Basic .NET – Simple English" lang="en-simple" hreflang="en-simple" data-title="Visual Basic .NET" data-language-autonym="Simple English" data-language-local-name="Simple English" class="interlanguage-link-target"><span>Simple English</span></a></li><li class="interlanguage-link interwiki-sv mw-list-item"><a href="https://sv.wikipedia.org/wiki/Visual_Basic_.NET" title="Visual Basic .NET – suédois" lang="sv" hreflang="sv" data-title="Visual Basic .NET" data-language-autonym="Svenska" data-language-local-name="suédois" class="interlanguage-link-target"><span>Svenska</span></a></li><li class="interlanguage-link interwiki-ta mw-list-item"><a href="https://ta.wikipedia.org/wiki/%E0%AE%B5%E0%AE%BF%E0%AE%9A%E0%AF%81%E0%AE%B5%E0%AE%B2%E0%AF%8D_%E0%AE%AA%E0%AF%87%E0%AE%9A%E0%AE%BF%E0%AE%95%E0%AF%8D_%E0%AE%A8%E0%AF%86%E0%AE%9F%E0%AF%8D" title="விசுவல் பேசிக் நெட் – tamoul" lang="ta" hreflang="ta" data-title="விசுவல் பேசிக் நெட்" data-language-autonym="தமிழ்" data-language-local-name="tamoul" class="interlanguage-link-target"><span>தமிழ்</span></a></li><li class="interlanguage-link interwiki-tg mw-list-item"><a href="https://tg.wikipedia.org/wiki/Visual_Basic.NET" title="Visual Basic.NET – tadjik" lang="tg" hreflang="tg" data-title="Visual Basic.NET" data-language-autonym="Тоҷикӣ" data-language-local-name="tadjik" class="interlanguage-link-target"><span>Тоҷикӣ</span></a></li><li class="interlanguage-link interwiki-th mw-list-item"><a href="https://th.wikipedia.org/wiki/%E0%B8%A7%E0%B8%B4%E0%B8%8A%E0%B8%A7%E0%B8%A5%E0%B9%80%E0%B8%9A%E0%B8%AA%E0%B8%B4%E0%B8%81%E0%B8%94%E0%B8%AD%E0%B8%95%E0%B9%80%E0%B8%99%E0%B9%87%E0%B8%95" title="วิชวลเบสิกดอตเน็ต – thaï" lang="th" hreflang="th" data-title="วิชวลเบสิกดอตเน็ต" data-language-autonym="ไทย" data-language-local-name="thaï" class="interlanguage-link-target"><span>ไทย</span></a></li><li class="interlanguage-link interwiki-tr mw-list-item"><a href="https://tr.wikipedia.org/wiki/Visual_Basic_.NET" title="Visual Basic .NET – turc" lang="tr" hreflang="tr" data-title="Visual Basic .NET" data-language-autonym="Türkçe" data-language-local-name="turc" class="interlanguage-link-target"><span>Türkçe</span></a></li><li class="interlanguage-link interwiki-uk mw-list-item"><a href="https://uk.wikipedia.org/wiki/Visual_Basic_.NET" title="Visual Basic .NET – ukrainien" lang="uk" hreflang="uk" data-title="Visual Basic .NET" data-language-autonym="Українська" data-language-local-name="ukrainien" class="interlanguage-link-target"><span>Українська</span></a></li><li class="interlanguage-link interwiki-uz mw-list-item"><a href="https://uz.wikipedia.org/wiki/Visual_Basic_.NET" title="Visual Basic .NET – ouzbek" lang="uz" hreflang="uz" data-title="Visual Basic .NET" data-language-autonym="Oʻzbekcha / ўзбекча" data-language-local-name="ouzbek" class="interlanguage-link-target"><span>Oʻzbekcha / ўзбекча</span></a></li><li class="interlanguage-link interwiki-vi mw-list-item"><a href="https://vi.wikipedia.org/wiki/Visual_Basic_.NET" title="Visual Basic .NET – vietnamien" lang="vi" hreflang="vi" data-title="Visual Basic .NET" data-language-autonym="Tiếng Việt" data-language-local-name="vietnamien" class="interlanguage-link-target"><span>Tiếng Việt</span></a></li><li class="interlanguage-link interwiki-yi mw-list-item"><a href="https://yi.wikipedia.org/wiki/Visual_Basic_.NET" title="Visual Basic .NET – yiddish" lang="yi" hreflang="yi" data-title="Visual Basic .NET" data-language-autonym="ייִדיש" data-language-local-name="yiddish" class="interlanguage-link-target"><span>ייִדיש</span></a></li><li class="interlanguage-link interwiki-zh mw-list-item"><a href="https://zh.wikipedia.org/wiki/Visual_Basic_.NET" title="Visual Basic .NET – chinois" lang="zh" hreflang="zh" data-title="Visual Basic .NET" data-language-autonym="中文" data-language-local-name="chinois" class="interlanguage-link-target"><span>中文</span></a></li><li class="interlanguage-link interwiki-zh-yue mw-list-item"><a href="https://zh-yue.wikipedia.org/wiki/Visual_Basic_.NET" title="Visual Basic .NET – cantonais" lang="yue" hreflang="yue" data-title="Visual Basic .NET" data-language-autonym="粵語" data-language-local-name="cantonais" class="interlanguage-link-target"><span>粵語</span></a></li> </ul> <div class="after-portlet after-portlet-lang"><span class="wb-langlinks-edit wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q50077#sitelinks-wikipedia" title="Modifier les liens interlangues" class="wbc-editpage">Modifier les liens</a></span></div> </div> </div> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="Espaces de noms"> <div id="p-associated-pages" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-associated-pages" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-main" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Visual_Basic_.NET" title="Voir le contenu de la page [c]" accesskey="c"><span>Article</span></a></li><li id="ca-talk" class="vector-tab-noicon mw-list-item"><a href="/wiki/Discussion:Visual_Basic_.NET" rel="discussion" title="Discussion au sujet de cette page de contenu [t]" accesskey="t"><span>Discussion</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown emptyPortlet" > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="Modifier la variante de langue" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">français</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="Affichages"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Visual_Basic_.NET"><span>Lire</span></a></li><li id="ca-ve-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Visual_Basic_.NET&amp;veaction=edit" title="Modifier cette page [v]" accesskey="v"><span>Modifier</span></a></li><li id="ca-edit" class="collapsible vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Visual_Basic_.NET&amp;action=edit" title="Modifier le wikicode de cette page [e]" accesskey="e"><span>Modifier le code</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Visual_Basic_.NET&amp;action=history" title="Historique des versions de cette page [h]" accesskey="h"><span>Voir l’historique</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Outils de la page"> <div id="vector-page-tools-dropdown" class="vector-dropdown vector-page-tools-dropdown" > <input type="checkbox" id="vector-page-tools-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-tools-dropdown" class="vector-dropdown-checkbox " aria-label="Outils" > <label id="vector-page-tools-dropdown-label" for="vector-page-tools-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">Outils</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-tools-unpinned-container" class="vector-unpinned-container"> <div id="vector-page-tools" class="vector-page-tools vector-pinnable-element"> <div class="vector-pinnable-header vector-page-tools-pinnable-header vector-pinnable-header-unpinned" data-feature-name="page-tools-pinned" data-pinnable-element-id="vector-page-tools" data-pinned-container-id="vector-page-tools-pinned-container" data-unpinned-container-id="vector-page-tools-unpinned-container" > <div class="vector-pinnable-header-label">Outils</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">déplacer vers la barre latérale</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">masquer</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="Plus d’options" > <div class="vector-menu-heading"> Actions </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="selected vector-more-collapsible-item mw-list-item"><a href="/wiki/Visual_Basic_.NET"><span>Lire</span></a></li><li id="ca-more-ve-edit" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Visual_Basic_.NET&amp;veaction=edit" title="Modifier cette page [v]" accesskey="v"><span>Modifier</span></a></li><li id="ca-more-edit" class="collapsible vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Visual_Basic_.NET&amp;action=edit" title="Modifier le wikicode de cette page [e]" accesskey="e"><span>Modifier le code</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Visual_Basic_.NET&amp;action=history"><span>Voir l’historique</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> Général </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Sp%C3%A9cial:Pages_li%C3%A9es/Visual_Basic_.NET" title="Liste des pages liées qui pointent sur celle-ci [j]" accesskey="j"><span>Pages liées</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Sp%C3%A9cial:Suivi_des_liens/Visual_Basic_.NET" rel="nofollow" title="Liste des modifications récentes des pages appelées par celle-ci [k]" accesskey="k"><span>Suivi des pages liées</span></a></li><li id="t-upload" class="mw-list-item"><a href="/wiki/Aide:Importer_un_fichier" title="Téléverser des fichiers [u]" accesskey="u"><span>Téléverser un fichier</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Sp%C3%A9cial:Pages_sp%C3%A9ciales" title="Liste de toutes les pages spéciales [q]" accesskey="q"><span>Pages spéciales</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=Visual_Basic_.NET&amp;oldid=211175153" title="Adresse permanente de cette version de cette page"><span>Lien permanent</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Visual_Basic_.NET&amp;action=info" title="Davantage d’informations sur cette page"><span>Informations sur la page</span></a></li><li id="t-cite" class="mw-list-item"><a href="/w/index.php?title=Sp%C3%A9cial:Citer&amp;page=Visual_Basic_.NET&amp;id=211175153&amp;wpFormIdentifier=titleform" title="Informations sur la manière de citer cette page"><span>Citer cette page</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Sp%C3%A9cial:UrlShortener&amp;url=https%3A%2F%2Ffr.wikipedia.org%2Fwiki%2FVisual_Basic_.NET"><span>Obtenir l'URL raccourcie</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Sp%C3%A9cial:QrCode&amp;url=https%3A%2F%2Ffr.wikipedia.org%2Fwiki%2FVisual_Basic_.NET"><span>Télécharger le code QR</span></a></li> </ul> </div> </div> <div id="p-coll-print_export" class="vector-menu mw-portlet mw-portlet-coll-print_export" > <div class="vector-menu-heading"> Imprimer / exporter </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="coll-create_a_book" class="mw-list-item"><a href="/w/index.php?title=Sp%C3%A9cial:Livre&amp;bookcmd=book_creator&amp;referer=Visual+Basic+.NET"><span>Créer un livre</span></a></li><li id="coll-download-as-rl" class="mw-list-item"><a href="/w/index.php?title=Sp%C3%A9cial:DownloadAsPdf&amp;page=Visual_Basic_.NET&amp;action=show-download-screen"><span>Télécharger comme PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="/w/index.php?title=Visual_Basic_.NET&amp;printable=yes" title="Version imprimable de cette page [p]" accesskey="p"><span>Version imprimable</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects" > <div class="vector-menu-heading"> Dans d’autres projets </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="wb-otherproject-link wb-otherproject-commons mw-list-item"><a href="https://commons.wikimedia.org/wiki/Category:Visual_Basic_.NET" hreflang="en"><span>Wikimedia Commons</span></a></li><li class="wb-otherproject-link wb-otherproject-wikibooks mw-list-item"><a href="https://fr.wikibooks.org/wiki/Programmation_Visual_Basic_.NET" hreflang="fr"><span>Wikilivres</span></a></li><li class="wb-otherproject-link wb-otherproject-wikiversity mw-list-item"><a href="https://fr.wikiversity.org/wiki/Visual_Basic_.NET" hreflang="fr"><span>Wikiversité</span></a></li><li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q50077" title="Lien vers l’élément dans le dépôt de données connecté [g]" accesskey="g"><span>Élément Wikidata</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="Outils de la page"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Apparence"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">Apparence</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">déplacer vers la barre latérale</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">masquer</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div class="mw-indicators"> </div> <div id="siteSub" class="noprint">Un article de Wikipédia, l&#039;encyclopédie libre.</div> </div> <div id="contentSub"><div id="mw-content-subtitle"></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-ltr mw-parser-output" lang="fr" dir="ltr"><p class="mw-empty-elt"> </p> <table class="infobox_v2 infobox infobox--frwiki noarchive"> <tbody><tr> <td colspan="2" class="entete informatique" style="background-color:#EEEEEE;color:black;">Visual Basic (Visual Studio)<style data-mw-deduplicate="TemplateStyles:r188801372">.mw-parser-output .entete.informatique{background-image:url("//upload.wikimedia.org/wikipedia/commons/a/ae/Picto-infoboxinfo.png")}</style> </td></tr> <tr><td colspan="3" style="text-align:center; line-height: 1.5em;"><span typeof="mw:File/Frameless"><a href="/wiki/Fichier:VB.NET_Logo.svg" class="mw-file-description"><img alt="Logo." src="//upload.wikimedia.org/wikipedia/commons/thumb/4/40/VB.NET_Logo.svg/131px-VB.NET_Logo.svg.png" decoding="async" width="131" height="131" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/4/40/VB.NET_Logo.svg/197px-VB.NET_Logo.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/4/40/VB.NET_Logo.svg/262px-VB.NET_Logo.svg.png 2x" data-file-width="512" data-file-height="512" /></a></span> </td></tr> <tr> <td colspan="2"><hr style="height:2px; background-color:#EEEEEE;" /></td></tr> <tr> <th scope="row">Date de première version </th> <td><a href="/wiki/2001" title="2001">2001</a> </td> </tr> <tr> <th scope="row"><a href="/wiki/Paradigme_(programmation)" title="Paradigme (programmation)">Paradigme</a> </th> <td><a href="/wiki/Programmation_orient%C3%A9e_objet" title="Programmation orientée objet">Orienté objet</a>, <a href="/wiki/Programmation_structur%C3%A9e" title="Programmation structurée">Structuré</a> et <a href="/wiki/Programmation_imp%C3%A9rative" title="Programmation impérative">Impératif</a> </td> </tr> <tr> <th scope="row">Auteur </th> <td><a href="/wiki/Microsoft" title="Microsoft">Microsoft</a> </td> </tr> <tr> <th scope="row"><a href="/wiki/Version_d%27un_logiciel" title="Version d&#39;un logiciel">Dernière version</a> </th> <td>VB 16.0 (<a href="/wiki/2019" title="2019">2019</a>) </td> </tr> <tr> <th scope="row">Typage </th> <td><a href="/wiki/Typage_statique" title="Typage statique">Statique</a>, <a href="/wiki/Typage_fort" title="Typage fort">Fort</a> et <a href="/wiki/Syst%C3%A8me_nominatif_de_types" title="Système nominatif de types">nominatif</a> </td> </tr> <tr> <th scope="row">Dialectes </th> <td>VB7 (VS2003), VB8 (VS2005), VB9 (VS2008), VB10 (VS2010) </td> </tr> <tr> <th scope="row">Influencé par </th> <td><a href="/wiki/Visual_Basic" title="Visual Basic">Visual Basic</a>, <a href="/wiki/C_Sharp" title="C Sharp">C#</a> </td> </tr> <tr> <th scope="row">Implémentations </th> <td><a href="/wiki/.NET_Framework" title=".NET Framework">.NET Framework</a>, <a href="/wiki/Mono_(informatique)" class="mw-redirect" title="Mono (informatique)">Mono</a> </td> </tr> <tr> <th scope="row"><a href="/wiki/Licence_de_logiciel" title="Licence de logiciel">Licence</a> </th> <td><a href="/w/index.php?title=Roslyn_compiler&amp;action=edit&amp;redlink=1" class="new" title="Roslyn compiler (page inexistante)">Roslyn compiler</a>, <a href="/wiki/Apache_License" class="mw-redirect" title="Apache License">Apache License 2.0</a><sup id="cite_ref-4" class="reference"><a href="#cite_note-4"><span class="cite_crochet">[</span>4<span class="cite_crochet">]</span></a></sup> </td> </tr> <tr> <th scope="row"><a href="/wiki/Site_web" title="Site web">Site web</a> </th> <td><span class="wd_p856"><a rel="nofollow" class="external text" href="https://docs.microsoft.com/en-us/dotnet/visual-basic/">docs.microsoft.com/en-us/dotnet/visual-basic</a> et <a rel="nofollow" class="external text" href="https://docs.microsoft.com/ja-jp/dotnet/visual-basic/">docs.microsoft.com/ja-jp/dotnet/visual-basic</a><span class="noprint wikidata-linkback skin-invert"><span class="mw-valign-baseline noviewer" typeof="mw:File"><a href="https://www.wikidata.org/wiki/Q50077?uselang=fr#P856" title="Voir et modifier les données sur Wikidata"><img alt="Voir et modifier les données sur Wikidata" src="//upload.wikimedia.org/wikipedia/commons/thumb/7/73/Blue_pencil.svg/10px-Blue_pencil.svg.png" decoding="async" width="10" height="10" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/7/73/Blue_pencil.svg/15px-Blue_pencil.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/7/73/Blue_pencil.svg/20px-Blue_pencil.svg.png 2x" data-file-width="600" data-file-height="600" /></a></span></span></span> </td> </tr> <tr> <th scope="row"><a href="/wiki/Extension_de_nom_de_fichier" title="Extension de nom de fichier">Extension de fichier</a> </th> <td><span class="wd_p1195">vb<span class="noprint wikidata-linkback skin-invert"><span class="mw-valign-baseline noviewer" typeof="mw:File"><a href="https://www.wikidata.org/wiki/Q50077?uselang=fr#P1195" title="Voir et modifier les données sur Wikidata"><img alt="Voir et modifier les données sur Wikidata" src="//upload.wikimedia.org/wikipedia/commons/thumb/7/73/Blue_pencil.svg/10px-Blue_pencil.svg.png" decoding="async" width="10" height="10" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/7/73/Blue_pencil.svg/15px-Blue_pencil.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/7/73/Blue_pencil.svg/20px-Blue_pencil.svg.png 2x" data-file-width="600" data-file-height="600" /></a></span></span></span> </td> </tr> <tr> <td class="navigation-only" colspan="2" style="border-top: 2px #EEEEEE solid; font-size: 80%; background:inherit; text-align: right;"><span class="plainlinks" style="float:left;"><a class="external text" href="https://fr.wikipedia.org/w/index.php?title=Visual_Basic_.NET&amp;action=edit&amp;section=0"><span class="infodoc">modifier</span></a></span>&#160;<span typeof="mw:File"><a href="/wiki/Mod%C3%A8le:Infobox_Langage_de_programmation" title="Consultez la documentation du modèle"><img alt="" src="//upload.wikimedia.org/wikipedia/commons/thumb/3/38/Info_Simple.svg/12px-Info_Simple.svg.png" decoding="async" width="12" height="12" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/3/38/Info_Simple.svg/18px-Info_Simple.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/3/38/Info_Simple.svg/24px-Info_Simple.svg.png 2x" data-file-width="512" data-file-height="512" /></a></span></td> </tr> </tbody></table> <p><b>Visual Basic .NET</b> est un <a href="/wiki/Langage_de_programmation" title="Langage de programmation">langage de programmation</a> à la syntaxe similaire à celle de <a href="/wiki/Visual_Basic" title="Visual Basic">Visual Basic 6</a>. </p><p>VB.NET permet de développer en <a href="/wiki/Microsoft_.NET" title="Microsoft .NET">.NET</a> via <a href="/wiki/Visual_Studio" class="mw-redirect" title="Visual Studio">Visual Studio</a>, sur les systèmes d'exploitation <a href="/wiki/Microsoft_Windows" title="Microsoft Windows">Windows</a> (98, 2000, XP, Vista, 7, 8, 8.1, 10 et 11). Comme tout autre langage de la plateforme .NET, VB.NET est compilé vers le langage intermédiaire <a href="/wiki/Common_Intermediate_Language" title="Common Intermediate Language">CIL</a>. </p> <meta property="mw:PageProp/toc" /> <div class="mw-heading mw-heading2"><h2 id="Les_IDE_(environnements_de_développement)"><span id="Les_IDE_.28environnements_de_d.C3.A9veloppement.29"></span>Les IDE (environnements de développement)</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Visual_Basic_.NET&amp;veaction=edit&amp;section=1" title="Modifier la section : Les IDE (environnements de développement)" class="mw-editsection-visualeditor"><span>modifier</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Visual_Basic_.NET&amp;action=edit&amp;section=1" title="Modifier le code source de la section : Les IDE (environnements de développement)"><span>modifier le code</span></a><span class="mw-editsection-bracket">]</span></span></div> <figure class="mw-default-size" typeof="mw:File/Thumb"><a href="/wiki/Fichier:MonoDevelop.png" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/d/d2/MonoDevelop.png/220px-MonoDevelop.png" decoding="async" width="220" height="130" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/d2/MonoDevelop.png/330px-MonoDevelop.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/d2/MonoDevelop.png/440px-MonoDevelop.png 2x" data-file-width="1440" data-file-height="852" /></a><figcaption>Capture d'écran de MonoDevelop</figcaption></figure> <p>L'IDE commun et incontournable de tous les langages .NET est <a href="/wiki/Visual_Studio" class="mw-redirect" title="Visual Studio">Visual Studio</a>. Celui-ci est payant (la licence est propriétaire) mais dispose d'une version gratuite pour les développeurs et petites sociétés (CA inférieur à un million de dollars) nommée Visual Studio Community. </p><p>Une autre version gratuite existe, limitée à un seul langage&#160;: <a href="/wiki/Microsoft_Visual_Studio_Express" title="Microsoft Visual Studio Express">Visual Studio Express</a>. </p><p>D'autres IDE gratuits existent, comme <a href="/wiki/SharpDevelop" title="SharpDevelop">SharpDevelop</a> ou <a href="/wiki/MonoDevelop" title="MonoDevelop">MonoDevelop</a>, mais ceux-ci sont moins évolués que Visual Studio. </p> <div class="mw-heading mw-heading2"><h2 id="Versions">Versions</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Visual_Basic_.NET&amp;veaction=edit&amp;section=2" title="Modifier la section : Versions" class="mw-editsection-visualeditor"><span>modifier</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Visual_Basic_.NET&amp;action=edit&amp;section=2" title="Modifier le code source de la section : Versions"><span>modifier le code</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-heading mw-heading3"><h3 id="Évolutions_:_de_VB6_à_VB7_(non_exhaustif)"><span id=".C3.89volutions_:_de_VB6_.C3.A0_VB7_.28non_exhaustif.29"></span>Évolutions&#160;: de VB6 à VB7 (non exhaustif)</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Visual_Basic_.NET&amp;veaction=edit&amp;section=3" title="Modifier la section : Évolutions : de VB6 à VB7 (non exhaustif)" class="mw-editsection-visualeditor"><span>modifier</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Visual_Basic_.NET&amp;action=edit&amp;section=3" title="Modifier le code source de la section : Évolutions : de VB6 à VB7 (non exhaustif)"><span>modifier le code</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Qu'est-ce qui différencie VB6 (<a href="/wiki/Visual_Basic" title="Visual Basic">Visual Basic</a> 6) par rapport à VB7 (<a href="/wiki/Visual_Studio" class="mw-redirect" title="Visual Studio">Visual Studio</a> 2003)&#160;?&#160;: </p> <ul><li>L'orientation objet fait son apparition avec notamment l'intégration de la technologie de l'<a href="/wiki/H%C3%A9ritage_(Informatique)" class="mw-redirect" title="Héritage (Informatique)">héritage</a>, qui jusqu'à ce jour limitait l'industrialisation du code Visual Basic (VB6 n'était pas un langage orienté objet à proprement parler).</li> <li>L'intégration de l'environnement de développement (IDE) dans la suite Visual Studio permettant d'utiliser d'autres langages comme Visual <a href="/wiki/C_plus_plus" class="mw-redirect" title="C plus plus">C++</a> ou <a href="/wiki/C_sharp" class="mw-redirect" title="C sharp">Visual C#</a>. Une bibliothèque de fonction faite en C# sera totalement compatible et utilisable dans une application VB.NET.</li> <li>Le code produit par VB.NET est compilé dans un même <a href="/wiki/Langage_interm%C3%A9diaire" title="Langage intermédiaire">langage intermédiaire</a> qu'on appelle le <a href="/wiki/Common_Intermediate_Language" title="Common Intermediate Language">CIL</a> (Common Intermediate Language) ou MSIL (Microsoft Intermediate Language). Ce langage est le même que le résultat d'une compilation de C#.</li> <li>La connexion aux <a href="/wiki/Bases_de_donn%C3%A9es" class="mw-redirect" title="Bases de données">bases de données</a> est facilitée par l'amélioration des outils de <a href="/wiki/Glisser-d%C3%A9poser" title="Glisser-déposer">glisser-déposer</a> et l'utilisation de la dernière technologie <a href="/wiki/ActiveX_Data_Object" class="mw-redirect" title="ActiveX Data Object">ADO</a>, ADO.NET.</li> <li>La technologie <a href="/wiki/Extensible_Markup_Language" title="Extensible Markup Language">XML</a> est intégrée nativement dans .NET, ce qui permet la création plus facile d'application en ligne ou de sauvegarde de données.</li> <li>Le générateur de code <a href="/wiki/Structured_Query_Language" title="Structured Query Language">SQL</a> est beaucoup plus performant.</li> <li>L'écriture de gestionnaires d'erreurs tient compte du <a href="/wiki/Multithreading" title="Multithreading">Multithreading</a> via des blocs TRY/CATCH.</li> <li>La portée des instructions <a href="/wiki/Goto_(informatique)" title="Goto (informatique)">GOTO</a> est limitée (les sauts ne peuvent se faire qu'au sein d'une même fonction). Ce comportement est dû au fonctionnement-même de la plateforme .NET et est commun à tous les langages .NET&#160;: C#, J#, etc.</li> <li>La déclaration des variables est rendue obligatoire par défaut (contrairement au <a href="/wiki/Visual_Basic" title="Visual Basic">Visual Basic 6</a> où cette fonctionnalité était désactivée par défaut).</li> <li>L'intégration de nouvelles <a href="/wiki/Classe_(informatique)" title="Classe (informatique)">classes</a> d'objet .NET s'est faite tout en permettant pour les versions intermédiaires de réutiliser les objets .COM rendant la migration plus facile de <a href="/wiki/Visual_Basic" title="Visual Basic">Visual Basic 6</a> à VB Net. VB.NET est le seul langage de .NET à avoir une intégration «&#160;en profondeur&#160;» des objets COM.</li> <li>Les pointeurs vers des fonctions peuvent et doivent (dans 99&#160;% des cas) désormais être typés (notion de délégués).</li></ul> <div class="mw-heading mw-heading3"><h3 id="Évolutions_:_VB7_à_VB8_(non_exhaustif)"><span id=".C3.89volutions_:_VB7_.C3.A0_VB8_.28non_exhaustif.29"></span>Évolutions&#160;: VB7 à VB8 (non exhaustif)</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Visual_Basic_.NET&amp;veaction=edit&amp;section=4" title="Modifier la section : Évolutions : VB7 à VB8 (non exhaustif)" class="mw-editsection-visualeditor"><span>modifier</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Visual_Basic_.NET&amp;action=edit&amp;section=4" title="Modifier le code source de la section : Évolutions : VB7 à VB8 (non exhaustif)"><span>modifier le code</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Quelques nouveautés ont fait leur apparition entre VB7 et VB8, mais c'est surtout le passage du <a href="/wiki/Framework_.NET" class="mw-redirect" title="Framework .NET">framework .NET</a> 1.1 au 2.0 qui marque cette évolution. </p><p>En voici tout de même un résumé&#160;: </p> <ul><li>Les classes partielles, permettant de répartir l’implémentation d’une classe sur plusieurs fichiers.</li> <li>Les types génériques, évolution typée des templates C++.</li> <li>Les types «&#160;nullables&#160;», c'est-à-dire la possibilité de spécifier qu’un type de valeur peut être nul. Ceux-ci sont déclarés avec le caractère point d'interrogation «&#160;?&#160;» suivant le nom du type, comme ceci&#160;: <code>Dim X as Integer? = Nothing</code> (VB9) ou avec une classe particulière (VB8+). Cette valeur «&#160;Nothing&#160;» serait, si le «&#160;?&#160;» n'était pas spécifié, converti en 0 dans ce cas-ci. Dans le nouveau système, (X+10) vaudrait «&#160;Nothing&#160;» (Nothing est absorbant dans tous les opérateurs), et pas 10 comme cela aurait été le cas autrement. Tout membre d'une valeur «&#160;vide&#160;» est «&#160;vide&#160;».</li> <li>La documentation est automatiquement générée depuis des commentaires spéciaux dans le code.</li></ul> <div class="mw-heading mw-heading3"><h3 id="Évolutions_:_VB8_à_VB9_(non_exhaustif)"><span id=".C3.89volutions_:_VB8_.C3.A0_VB9_.28non_exhaustif.29"></span>Évolutions&#160;: VB8 à VB9 (non exhaustif)</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Visual_Basic_.NET&amp;veaction=edit&amp;section=5" title="Modifier la section : Évolutions : VB8 à VB9 (non exhaustif)" class="mw-editsection-visualeditor"><span>modifier</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Visual_Basic_.NET&amp;action=edit&amp;section=5" title="Modifier le code source de la section : Évolutions : VB8 à VB9 (non exhaustif)"><span>modifier le code</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>VB9 a évidemment implémenté toutes les nouvelles fonctionnalités de C#, ainsi que quelques autres&#160;: </p> <ul><li>LINQ, XLINQ, DLINQ…</li> <li>Expression Trees (fonctions anonymes)</li> <li>Assouplissement des conversions entre délégués</li> <li><a rel="nofollow" class="external text" href="http://blogs.codes-sources.com/playtime/archive/2008/05/21/vb9-xml-literal-les-d-veloppeurs-c-vont-tre-jaloux.aspx">XML Littéral</a></li> <li>Introduction du IF ternaire (équivalent de bool?truePart:falsePart), optimisé par rapport à IIF()</li> <li>La migration du code VB6 vers .NET, et la rétro-compatibilité avec ce langage (Classe VB6) ont été retirés.</li></ul> <div class="mw-heading mw-heading3"><h3 id="Évolutions_:_VB9_à_VB10"><span id=".C3.89volutions_:_VB9_.C3.A0_VB10"></span>Évolutions&#160;: VB9 à VB10</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Visual_Basic_.NET&amp;veaction=edit&amp;section=6" title="Modifier la section : Évolutions : VB9 à VB10" class="mw-editsection-visualeditor"><span>modifier</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Visual_Basic_.NET&amp;action=edit&amp;section=6" title="Modifier le code source de la section : Évolutions : VB9 à VB10"><span>modifier le code</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>VB10 (aussi appelé VBx) marque un tournant majeur dans l'évolution de VB. Outre le fait qu'il sera intégré dans le Framework 4, il devrait surtout combler totalement son "retard" par rapport à C# sur certains points (tout comme C# comblera son retard envers VB), vu que la "coévolution" des langages C# et VB.NET a été officiellement annoncée. Cela assure non seulement un futur stable à VB.NET, qui ne pourra pas être délaissé par Microsoft mais aussi une garantie que tout ce qui est faisable en C# le sera toujours aussi sous VB.NET (même si c'est d'une autre façon). </p><p>Les fonctionnalités prévues pour VBx&#160;: </p> <ul><li>Objets dynamiques (permet notamment la <a href="/wiki/Programmation_orient%C3%A9e_prototype" title="Programmation orientée prototype">Programmation orientée prototype</a> et la communication entre des langages dynamiques (<a href="/wiki/JScript" title="JScript">JScript</a>…) et les langages de la plateforme .NET)</li> <li>Gestion implicite des interfaces (comme C#)</li> <li>Gestion des méthodes anonymes</li> <li>Simplification de l'écriture des tableaux, collections, listes et dictionnaires.</li></ul> <div class="mw-heading mw-heading2"><h2 id="Quelques_différences_entre_C#_et_VB.NET_(non_exhaustif)"><span id="Quelques_diff.C3.A9rences_entre_C.23_et_VB.NET_.28non_exhaustif.29"></span>Quelques différences entre C# et VB.NET (non exhaustif)</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Visual_Basic_.NET&amp;veaction=edit&amp;section=7" title="Modifier la section : Quelques différences entre C# et VB.NET (non exhaustif)" class="mw-editsection-visualeditor"><span>modifier</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Visual_Basic_.NET&amp;action=edit&amp;section=7" title="Modifier le code source de la section : Quelques différences entre C# et VB.NET (non exhaustif)"><span>modifier le code</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Voici les différences les plus flagrantes entre VB.NET et C# (VB.NET et C# évoluant, les éléments de cette liste peuvent être obsolètes): </p> <ul><li>VB supporte les paramètres optionnels (C# ne le supporte que depuis sa version 4)</li> <li>VB supporte le "late-binding" (appel d'une propriété/fonction avec son nom, sans connaitre le type de l'objet (pour les objets COM))</li> <li>L'espace de nom Microsoft.VisualBasic donne une compatibilité par rapport à VB6. Il est à éviter si une solution plus performante existe.</li> <li>L'espace "My" implémente de nombreux appels WMI ou d'IO, ainsi que plusieurs "raccourcis" dans la gestion des ressources et paramètres d'applications. (VB8+)</li> <li>VB supporte la structure With</li> <li>Gestion des évènements simplifiée dans les fenêtres et contrôles</li> <li>On peut définir une méthode d'interface avec un nom différent que celui proposé au départ (si on veut redéfinir une fonction dans la classe avec un même nom mais une action différente)</li> <li>Support du mot-clé When dans le bloc Catch (exemple&#160;: <code>Catch ex as ComException When ex.ErrNumber = 30</code>)</li> <li>XML Littéral n'est pas implémenté en C#.</li> <li>Les Custom Events ne sont pas implémentés en C#.</li></ul> <p>Une liste des différences (en 2005) entre C# et VB.NET plus complète existe <a rel="nofollow" class="external text" href="http://www.codeproject.com/KB/dotnet/vbnet_c__difference.aspx">ici</a>. </p> <div class="mw-heading mw-heading2"><h2 id="Quelques_exemples_de_code_en_VB.NET">Quelques exemples de code en VB.NET</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Visual_Basic_.NET&amp;veaction=edit&amp;section=8" title="Modifier la section : Quelques exemples de code en VB.NET" class="mw-editsection-visualeditor"><span>modifier</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Visual_Basic_.NET&amp;action=edit&amp;section=8" title="Modifier le code source de la section : Quelques exemples de code en VB.NET"><span>modifier le code</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-heading mw-heading3"><h3 id="Hello_World_en_VB.NET_(Mode_Console)"><span id="Hello_World_en_VB.NET_.28Mode_Console.29"></span>Hello World en VB.NET (Mode Console)</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Visual_Basic_.NET&amp;veaction=edit&amp;section=9" title="Modifier la section : Hello World en VB.NET (Mode Console)" class="mw-editsection-visualeditor"><span>modifier</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Visual_Basic_.NET&amp;action=edit&amp;section=9" title="Modifier le code source de la section : Hello World en VB.NET (Mode Console)"><span>modifier le code</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-highlight mw-highlight-lang-vbnet mw-content-ltr" dir="ltr"><pre><span></span><span class="k">Public</span><span class="w"> </span><span class="k">Module</span><span class="w"> </span><span class="nn">HelloWorld</span> <span class="w"> </span><span class="c">&#39; Les lignes qui suivent sont toutes facultatives, mais conseillées</span> <span class="w"> </span><span class="c">&#39; Elles sont automatiquement transformées en documentation</span> <span class="w"> </span><span class="c">&#39;&#39;&#39; &lt;summary&gt;Point d&#39;entrée du programme&lt;/summary&gt;</span> <span class="w"> </span><span class="c">&#39;&#39;&#39; &lt;param name=&quot;Args&quot;&gt;Les arguments en ligne de commande passé au programme&lt;/param&gt;</span> <span class="w"> </span><span class="k">Public</span><span class="w"> </span><span class="k">Sub</span><span class="w"> </span><span class="nf">Main</span><span class="p">(</span><span class="k">ByVal</span><span class="w"> </span><span class="n">Args</span><span class="w"> </span><span class="ow">As</span><span class="w"> </span><span class="kt">String</span><span class="p">())</span> <span class="w"> </span><span class="c">&#39; Écrire dans la console</span> <span class="w"> </span><span class="n">Console</span><span class="p">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="s">&quot;Hello World!&quot;</span><span class="p">)</span> <span class="w"> </span><span class="c">&#39; Attendre que l&#39;utilisateur appuie sur une touche</span> <span class="w"> </span><span class="n">Console</span><span class="p">.</span><span class="n">ReadKey</span><span class="p">(</span><span class="k">False</span><span class="p">)</span> <span class="w"> </span><span class="k">End</span><span class="w"> </span><span class="k">Sub</span> <span class="k">End</span><span class="w"> </span><span class="k">Module</span> </pre></div> <div class="mw-heading mw-heading3"><h3 id="Hello_World_en_VB.NET_(Mode_Windows_Forms)"><span id="Hello_World_en_VB.NET_.28Mode_Windows_Forms.29"></span>Hello World en VB.NET (Mode Windows Forms)</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Visual_Basic_.NET&amp;veaction=edit&amp;section=10" title="Modifier la section : Hello World en VB.NET (Mode Windows Forms)" class="mw-editsection-visualeditor"><span>modifier</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Visual_Basic_.NET&amp;action=edit&amp;section=10" title="Modifier le code source de la section : Hello World en VB.NET (Mode Windows Forms)"><span>modifier le code</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-highlight mw-highlight-lang-vbnet mw-content-ltr" dir="ltr"><pre><span></span><span class="k">Public</span><span class="w"> </span><span class="k">Class</span><span class="w"> </span><span class="nc">Form1</span> <span class="w"> </span><span class="k">Public</span><span class="w"> </span><span class="k">Sub</span><span class="w"> </span><span class="nf">AfficheMessage</span><span class="p">()</span> <span class="w"> </span><span class="c">&#39;1ère solution (Fonctionne aussi en VBScript)</span> <span class="w"> </span><span class="n">MsgBox</span><span class="p">(</span><span class="s">&quot;Hello World!&quot;</span><span class="p">)</span> <span class="w"> </span><span class="c">&#39;2ème solution</span> <span class="w"> </span><span class="n">MessageBox</span><span class="p">.</span><span class="n">Show</span><span class="p">(</span><span class="s">&quot;Hello World!&quot;</span><span class="p">)</span> <span class="w"> </span><span class="c">&#39;Autre design </span> <span class="w"> </span><span class="n">MsgBox</span><span class="p">(</span><span class="s">&quot;Hello World&quot;</span><span class="p">,</span><span class="w"> </span><span class="n">MsgBoxStyle</span><span class="p">.</span><span class="n">Critical</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;Titre, hello world&quot;</span><span class="p">)</span> <span class="w"> </span><span class="c">&#39;OU</span> <span class="w"> </span><span class="n">MsgBox</span><span class="p">(</span><span class="s">&quot;Hello World&quot;</span><span class="p">,</span><span class="w"> </span><span class="n">MsgBoxStyle</span><span class="p">.</span><span class="n">Information</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;Titre, hello world&quot;</span><span class="p">)</span> <span class="w"> </span><span class="k">End</span><span class="w"> </span><span class="k">Sub</span> <span class="k">End</span><span class="w"> </span><span class="k">Class</span> </pre></div> <div class="mw-heading mw-heading3"><h3 id="Boucles_et_conditions">Boucles et conditions</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Visual_Basic_.NET&amp;veaction=edit&amp;section=11" title="Modifier la section : Boucles et conditions" class="mw-editsection-visualeditor"><span>modifier</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Visual_Basic_.NET&amp;action=edit&amp;section=11" title="Modifier le code source de la section : Boucles et conditions"><span>modifier le code</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-highlight mw-highlight-lang-vbnet mw-content-ltr" dir="ltr"><pre><span></span><span class="c">&#39;</span> <span class="c">&#39; Une simple condition IF</span> <span class="c">&#39;</span> <span class="k">If</span><span class="w"> </span><span class="n">XCondition</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">3</span><span class="w"> </span><span class="k">Then</span> <span class="w"> </span><span class="c">&#39; XCondition vaut 3</span> <span class="k">ElseIf</span><span class="w"> </span><span class="n">YCondition</span><span class="w"> </span><span class="o">&lt;&gt;</span><span class="w"> </span><span class="mi">4</span><span class="w"> </span><span class="k">Then</span> <span class="w"> </span><span class="c">&#39; XCondition ne vaut pas 3</span> <span class="w"> </span><span class="c">&#39; YCondition ne vaut pas 4</span> <span class="k">ElseIf</span><span class="w"> </span><span class="n">ZCondition</span><span class="w"> </span><span class="ow">Is</span><span class="w"> </span><span class="n">AnotherObject</span> <span class="w"> </span><span class="c">&#39; XCondition ne vaut pas 3</span> <span class="w"> </span><span class="c">&#39; YCondition vaut 4</span> <span class="w"> </span><span class="c">&#39; ZCondition et AnotherObject renvoient vers le même objet</span> <span class="k">Else</span><span class="w"> </span> <span class="w"> </span><span class="c">&#39; Aucune des conditions précédentes n&#39;a été rencontrée</span> <span class="k">End</span><span class="w"> </span><span class="k">If</span> <span class="c">&#39;</span> <span class="c">&#39; Un Select Case optimisé (Switch en C#)</span> <span class="c">&#39;</span> <span class="k">Select</span><span class="w"> </span><span class="k">Case</span><span class="w"> </span><span class="n">X</span> <span class="w"> </span><span class="k">Case</span><span class="w"> </span><span class="mi">0</span> <span class="w"> </span><span class="c">&#39; X = 0</span> <span class="w"> </span><span class="k">Case</span><span class="w"> </span><span class="mi">1</span> <span class="w"> </span><span class="c">&#39; X = 1</span> <span class="w"> </span><span class="k">Case</span><span class="w"> </span><span class="mi">2</span> <span class="w"> </span><span class="c">&#39; X = 2</span> <span class="w"> </span><span class="k">Case</span><span class="w"> </span><span class="k">Else</span> <span class="w"> </span><span class="c">&#39; X &lt;&gt; 1</span> <span class="k">End</span><span class="w"> </span><span class="k">select</span> <span class="c">&#39;</span> <span class="c">&#39; Un SELECT CASE translaté en IF/ELSE IF à la compilation</span> <span class="c">&#39;</span> <span class="k">Select</span><span class="w"> </span><span class="k">Case</span><span class="w"> </span><span class="n">Y</span> <span class="w"> </span><span class="k">Case</span><span class="w"> </span><span class="ow">Is</span><span class="w"> </span><span class="o">&lt;</span><span class="w"> </span><span class="mi">3</span> <span class="w"> </span><span class="c">&#39; Y &lt; 3</span> <span class="w"> </span><span class="k">Case</span><span class="w"> </span><span class="mi">3</span> <span class="w"> </span><span class="c">&#39; Y = 3</span> <span class="w"> </span><span class="k">Case</span><span class="w"> </span><span class="k">Else</span> <span class="w"> </span><span class="c">&#39; Y &gt; 3 dans ce cas</span> <span class="k">End</span><span class="w"> </span><span class="k">Case</span> <span class="c">&#39;</span> <span class="c">&#39; Boucle WHILE</span> <span class="c">&#39;</span> <span class="k">While</span><span class="w"> </span><span class="n">ImTrue</span> <span class="w"> </span><span class="c">&#39; ImTrue est vrai</span> <span class="w"> </span><span class="c">&#39; Ici on change la valeur de ImTrue</span> <span class="w"> </span><span class="n">ImTrue</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="k">False</span> <span class="k">End</span><span class="w"> </span><span class="k">While</span> <span class="c">&#39; ImTrue n&#39;est plus vrai</span> <span class="c">&#39;</span> <span class="c">&#39; Boucle Do...Loop</span> <span class="c">&#39;</span> <span class="n">ImFalse</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="k">False</span> <span class="k">Do</span> <span class="w"> </span><span class="c">&#39; Aucune condition n&#39;a été appliquée si c&#39;est la première fois</span> <span class="w"> </span><span class="c">&#39; Sinon, c&#39;est que ImFalse n&#39;est pas faux </span> <span class="w"> </span><span class="c">&#39; Dans cet exemple, le code n&#39;est pas relancé une {{2e}} fois</span> <span class="k">Loop</span><span class="w"> </span><span class="n">Until</span><span class="w"> </span><span class="n">ImFalse</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="k">False</span> <span class="c">&#39; ImFalse est bien faux</span> <span class="c">&#39;</span> <span class="c">&#39; Boucles For et For Each</span> <span class="c">&#39;</span> <span class="k">For</span><span class="w"> </span><span class="n">X</span><span class="w"> </span><span class="ow">As</span><span class="w"> </span><span class="kt">Integer</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">0</span><span class="w"> </span><span class="k">to</span><span class="w"> </span><span class="mi">9</span> <span class="w"> </span><span class="c">&#39; Ce code sera exécuté 10 fois</span> <span class="k">Next</span> <span class="k">For</span><span class="w"> </span><span class="n">X</span><span class="w"> </span><span class="ow">As</span><span class="w"> </span><span class="kt">Integer</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">10</span><span class="w"> </span><span class="k">To</span><span class="w"> </span><span class="mi">1</span><span class="w"> </span><span class="k">Step</span><span class="w"> </span><span class="o">-</span><span class="mi">1</span> <span class="w"> </span><span class="c">&#39; Ce code sera exécuté 10 fois en sens inverse</span> <span class="k">Next</span> <span class="k">For</span><span class="w"> </span><span class="k">Each</span><span class="w"> </span><span class="n">Element</span><span class="w"> </span><span class="ow">As</span><span class="w"> </span><span class="n">ElementType</span><span class="w"> </span><span class="ow">In</span><span class="w"> </span><span class="n">Array</span> <span class="w"> </span><span class="c">&#39; Ce code sera exécuté autant de fois qu&#39;il y a d&#39;éléments de type ElementType dans Array</span> <span class="k">Next</span> </pre></div> <div class="mw-heading mw-heading3"><h3 id="Les_tableaux">Les tableaux</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Visual_Basic_.NET&amp;veaction=edit&amp;section=12" title="Modifier la section : Les tableaux" class="mw-editsection-visualeditor"><span>modifier</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Visual_Basic_.NET&amp;action=edit&amp;section=12" title="Modifier le code source de la section : Les tableaux"><span>modifier le code</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-highlight mw-highlight-lang-vbnet mw-content-ltr" dir="ltr"><pre><span></span><span class="c">&#39;Créer un tableau de texte, vide et de taille infini</span> <span class="k">Dim</span><span class="w"> </span><span class="n">Tableau</span><span class="p">()</span><span class="w"> </span><span class="ow">As</span><span class="w"> </span><span class="kt">String</span> <span class="c">&#39;Créer un tableau de nombres naturels, vide et de taille infini</span> <span class="k">Dim</span><span class="w"> </span><span class="n">Tableau</span><span class="p">()</span><span class="w"> </span><span class="ow">As</span><span class="w"> </span><span class="kt">Integer</span> <span class="c">&#39;Créer un tableau de nombres réels, vide et de taille infini</span> <span class="k">Dim</span><span class="w"> </span><span class="n">Tableau</span><span class="p">()</span><span class="w"> </span><span class="ow">As</span><span class="w"> </span><span class="kt">Double</span> <span class="c">&#39;Assigne une valeur à la première case du tableau </span> <span class="n">Tableau</span><span class="p">(</span><span class="mi">0</span><span class="p">)</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">&quot;Case de tableau&quot;</span> <span class="n">Tableau</span><span class="p">(</span><span class="mi">0</span><span class="p">)</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">1</span> <span class="n">Tableau</span><span class="p">(</span><span class="mi">0</span><span class="p">)</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mf">1.5</span> <span class="c">&#39;Créer un tableau de texte de deux lignes et deux colonnes de texte et vide</span> <span class="k">Dim</span><span class="w"> </span><span class="n">Tableau</span><span class="p">(</span><span class="mi">2</span><span class="p">,</span><span class="mi">2</span><span class="p">)</span><span class="w"> </span><span class="ow">As</span><span class="w"> </span><span class="kt">String</span> <span class="c">&#39;Créer un tableau de texte de deux colonnes et une ligne comportant &quot;Bonjour&quot; et &quot;Au revoir&quot;</span> <span class="k">Dim</span><span class="w"> </span><span class="n">Tableau</span><span class="p">()</span><span class="w"> </span><span class="ow">As</span><span class="w"> </span><span class="kt">String</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="p">{</span><span class="s">&quot;Bonjour&quot;</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;Au revoir&quot;</span><span class="p">}</span> <span class="c">&#39;Créer un tableau de texte de deux colonnes et deux lignes</span> <span class="k">Dim</span><span class="w"> </span><span class="n">Tableau</span><span class="p">(,)</span><span class="w"> </span><span class="ow">As</span><span class="w"> </span><span class="kt">String</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="p">{{</span><span class="s">&quot;Colonne 1, ligne 1&quot;</span><span class="p">,</span><span class="s">&quot;Colonne 2, ligne 1&quot;</span><span class="p">},</span><span class="w"> </span><span class="p">{</span><span class="s">&quot;Colonne 1, ligne 2&quot;</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;Colonne 2, ligne 2&quot;</span><span class="p">}}</span> <span class="c">&#39;&#39;Créer un tableau puis le redimensionner en sauvegardant les valeurs</span> <span class="c">&#39;Créer un tableau de dix lignes et dix colonnes</span> <span class="k">Dim</span><span class="w"> </span><span class="n">Tableau</span><span class="p">(</span><span class="mi">9</span><span class="p">,</span><span class="mi">9</span><span class="p">)</span><span class="w"> </span><span class="ow">As</span><span class="w"> </span><span class="kt">String</span> <span class="c">&#39;Redimensionner en vingt lignes et vingt colonnes en préservant les valeurs</span> <span class="k">Redim</span><span class="w"> </span><span class="n">Preserve</span><span class="w"> </span><span class="n">Tableau</span><span class="p">(</span><span class="mi">19</span><span class="p">,</span><span class="mi">19</span><span class="p">)</span> <span class="c">&#39;Effacer toutes les valeurs du tableau en récupérant l&#39;espace</span> <span class="k">Erase</span><span class="w"> </span><span class="n">Tableau</span> <span class="c">&#39;Réinitialisation du tableau Tableau à partir de l&#39;élément 1 et pour 5 éléments</span> <span class="n">Array</span><span class="p">.</span><span class="n">Clear</span><span class="p">(</span><span class="n">Tableau</span><span class="p">,</span><span class="w"> </span><span class="mi">1</span><span class="p">,</span><span class="w"> </span><span class="mi">5</span><span class="p">)</span> </pre></div> <div class="mw-heading mw-heading3"><h3 id="Gestion_des_exceptions">Gestion des exceptions</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Visual_Basic_.NET&amp;veaction=edit&amp;section=13" title="Modifier la section : Gestion des exceptions" class="mw-editsection-visualeditor"><span>modifier</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Visual_Basic_.NET&amp;action=edit&amp;section=13" title="Modifier le code source de la section : Gestion des exceptions"><span>modifier le code</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>VB.NET possède les instructions <i>try</i> et <i>catch</i> permettant de gérer les exceptions (comportement non attendu des instructions du programme). </p><p>Exemples&#160;: </p> <div class="mw-highlight mw-highlight-lang-vbnet mw-content-ltr" dir="ltr"><pre><span></span><span class="k">Try</span> <span class="w"> </span><span class="n">My</span><span class="p">.</span><span class="n">Computer</span><span class="p">.</span><span class="n">FileSystem</span><span class="p">.</span><span class="n">FileReadBytes</span><span class="p">(</span><span class="s">&quot;C:\Chemin\Fichier.ext&quot;</span><span class="p">)</span> <span class="k">Catch</span><span class="w"> </span><span class="n">Ex</span><span class="w"> </span><span class="ow">as</span><span class="w"> </span><span class="n">FileNotFoundException</span><span class="w"> </span><span class="c">&#39;Pour l&#39;erreur Fichier introuvable</span> <span class="w"> </span><span class="n">MessageBox</span><span class="p">.</span><span class="n">Show</span><span class="p">(</span><span class="s">&quot;Impossible trouver le fichier&quot;</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;Erreur&quot;</span><span class="p">)</span> <span class="k">Catch</span><span class="w"> </span><span class="n">Ex</span><span class="w"> </span><span class="ow">as</span><span class="w"> </span><span class="n">Exception</span><span class="w"> </span><span class="c">&#39;Pour les autres erreurs.</span> <span class="w"> </span><span class="n">MessageBox</span><span class="p">.</span><span class="n">Show</span><span class="p">(</span><span class="s">&quot;Une erreur inconnue s&#39;est produite. Erreur renvoyée: &quot;</span><span class="w"> </span><span class="o">&amp;</span><span class="w"> </span><span class="n">ex</span><span class="p">.</span><span class="n">Message</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;Erreur&quot;</span><span class="p">)</span> <span class="k">End</span><span class="w"> </span><span class="k">Try</span> <span class="c">&#39;Remarquez que ex récupère les données</span> <span class="c">&#39;de l&#39;erreur, permettant de les traiter.</span> <span class="c">&#39;Il y a d&#39;autres options que Message. Consultez la documentation Visual Basic .NET pour en savoir plus.</span> <span class="k">Try</span> <span class="w"> </span><span class="n">SomeUnknownCOMObject</span><span class="p">.</span><span class="n">DoSomething</span><span class="p">()</span> <span class="k">Catch</span><span class="w"> </span><span class="n">Ex</span><span class="w"> </span><span class="ow">as</span><span class="w"> </span><span class="n">COMExcpetion</span><span class="w"> </span><span class="k">When</span><span class="w"> </span><span class="n">Ex</span><span class="p">.</span><span class="n">ErrorCode</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">4</span> <span class="w"> </span><span class="c">&#39; The object was of the excpected type but he throwned</span> <span class="w"> </span><span class="c">&#39; an error with [[HRESULT]] 4, which is possible as the </span> <span class="w"> </span><span class="c">&#39; documentation of the object says (it&#39;s an exemple).</span> <span class="w"> </span><span class="n">MessageBox</span><span class="p">.</span><span class="n">Show</span><span class="p">(</span><span class="s">&quot;L&#39;objet n&#39;était pas prêt&quot;</span><span class="p">)</span> <span class="w"> </span><span class="c">&#39; Throw some new Application-Specific error.</span> <span class="w"> </span><span class="k">Throw</span><span class="w"> </span><span class="k">new</span><span class="w"> </span><span class="n">Exception</span><span class="w"> </span><span class="p">(</span><span class="s">&quot;The object was not ready.&quot;</span><span class="p">)</span> <span class="k">Catch</span><span class="w"> </span><span class="n">Ex</span><span class="w"> </span><span class="ow">as</span><span class="w"> </span><span class="n">Exception</span> <span class="w"> </span><span class="c">&#39; Display some message</span> <span class="w"> </span><span class="n">MessageBox</span><span class="p">.</span><span class="n">Show</span><span class="p">(</span><span class="s">&quot;Une erreur inconnue s&#39;est produite&quot;</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;Erreur&quot;</span><span class="p">)</span> <span class="w"> </span><span class="c">&#39; But throw the (same) exception</span> <span class="w"> </span><span class="k">Throw</span> <span class="k">Finally</span> <span class="w"> </span><span class="c">&#39; Quoi qu&#39;il se passe, on fait cela</span> <span class="w"> </span><span class="c">&#39; Même si une erreur est survenue, ce code sera lancé</span> <span class="w"> </span><span class="k">Try</span><span class="w"> </span><span class="p">:</span><span class="w"> </span><span class="n">SomeUnkwnowCOMOBject</span><span class="p">.</span><span class="n">DoSomethingAnyWay</span><span class="p">()</span><span class="w"> </span><span class="p">:</span><span class="w"> </span><span class="k">Catch</span><span class="w"> </span><span class="n">ex</span><span class="w"> </span><span class="ow">as</span><span class="w"> </span><span class="n">Exception</span><span class="w"> </span><span class="p">:</span><span class="w"> </span><span class="k">End</span><span class="w"> </span><span class="k">Try</span> <span class="k">End</span><span class="w"> </span><span class="k">Try</span> </pre></div> <div class="mw-heading mw-heading3"><h3 id="Exemple_d'utilisation_de_LINQ"><span id="Exemple_d.27utilisation_de_LINQ"></span>Exemple d'utilisation de <a href="/wiki/LINQ" class="mw-redirect" title="LINQ">LINQ</a></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Visual_Basic_.NET&amp;veaction=edit&amp;section=14" title="Modifier la section : Exemple d&#039;utilisation de LINQ" class="mw-editsection-visualeditor"><span>modifier</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Visual_Basic_.NET&amp;action=edit&amp;section=14" title="Modifier le code source de la section : Exemple d&#039;utilisation de LINQ"><span>modifier le code</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-highlight mw-highlight-lang-vbnet mw-content-ltr" dir="ltr"><pre><span></span><span class="c">&#39; Retourne un énumérateur qui renvoie tous les noms des fenêtres enfants qui sont des éditeurs de texte</span> <span class="c">&#39; Visual Studio 2008 trouve le type de la variable automatiquement, similaire au &quot;var&quot; du C#</span> <span class="k">Dim</span><span class="w"> </span><span class="n">AllText</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">From</span><span class="w"> </span><span class="n">CW</span><span class="w"> </span><span class="ow">in</span><span class="w"> </span><span class="n">MyFormInstance</span><span class="p">.</span><span class="n">ChildWindows</span> <span class="w"> </span><span class="n">Where</span><span class="w"> </span><span class="n">CW</span><span class="p">.</span><span class="n">GetType</span><span class="p">()</span><span class="w"> </span><span class="ow">is</span><span class="w"> </span><span class="ow">GetType</span><span class="p">(</span><span class="n">MyTextEditorWindow</span><span class="p">)</span> <span class="w"> </span><span class="k">Select</span><span class="w"> </span><span class="n">CW</span><span class="p">.</span><span class="n">Text</span> <span class="c">&#39; Crée un objet XML (un Document XML, pas une chaine de caractère)</span> <span class="c">&#39; Visual Studio 2008 trouve le type de la variable automatiquement, similaire au &quot;var&quot; du C#</span> <span class="k">Dim</span><span class="w"> </span><span class="n">XMLDoc</span><span class="w"> </span><span class="o">=</span><span class="w"> </span>_ <span class="na"> &lt;root&gt;</span><span class="o">&lt;</span><span class="err">%</span><span class="w"> </span><span class="k">For</span><span class="w"> </span><span class="k">Each</span><span class="w"> </span><span class="n">Item</span><span class="w"> </span><span class="ow">in</span><span class="w"> </span><span class="n">Items</span><span class="w"> </span><span class="err">%</span><span class="o">&gt;</span> <span class="w"> </span><span class="o">&lt;</span><span class="n">item</span><span class="w"> </span><span class="n">name</span><span class="o">=</span><span class="s">&quot;&lt;%= Item.Name&#160;%&gt;&quot;</span><span class="w"> </span><span class="o">/&gt;</span> <span class="w"> </span><span class="o">&lt;</span><span class="err">%</span><span class="w"> </span><span class="k">Next</span><span class="w"> </span><span class="err">%</span><span class="o">&gt;&lt;/</span><span class="n">root</span><span class="o">&gt;</span> <span class="c">&#39; Sauvegarde dans un fichier le document XML</span> <span class="n">XMLDoc</span><span class="p">.</span><span class="n">Save</span><span class="p">(</span><span class="s">&quot;FileName.xml&quot;</span><span class="p">)</span> </pre></div> <div class="mw-heading mw-heading3"><h3 id="Exemple_d'un_événement_simple"><span id="Exemple_d.27un_.C3.A9v.C3.A9nement_simple"></span>Exemple d'un événement simple</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Visual_Basic_.NET&amp;veaction=edit&amp;section=15" title="Modifier la section : Exemple d&#039;un événement simple" class="mw-editsection-visualeditor"><span>modifier</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Visual_Basic_.NET&amp;action=edit&amp;section=15" title="Modifier le code source de la section : Exemple d&#039;un événement simple"><span>modifier le code</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-highlight mw-highlight-lang-vbnet mw-content-ltr" dir="ltr"><pre><span></span><span class="c">&#39; Déclaration des objets (fonctions, événements, ...) pour la fenêtre Form1</span> <span class="k">Public</span><span class="w"> </span><span class="k">Class</span><span class="w"> </span><span class="nc">Form1</span> <span class="w"> </span><span class="c">&#39; Lorsque l&#39;utilisateur clique sur l&#39;objet Button1</span> <span class="w"> </span><span class="k">Private</span><span class="w"> </span><span class="k">Sub</span><span class="w"> </span><span class="nf">Button1_Click</span><span class="p">(</span><span class="k">ByVal</span><span class="w"> </span><span class="n">sender</span><span class="w"> </span><span class="ow">As</span><span class="w"> </span><span class="n">System</span><span class="p">.</span><span class="n">Object</span><span class="p">,</span><span class="w"> </span><span class="k">ByVal</span><span class="w"> </span><span class="n">e</span><span class="w"> </span><span class="ow">As</span><span class="w"> </span><span class="n">System</span><span class="p">.</span><span class="n">EventArgs</span><span class="p">)</span><span class="w"> </span><span class="k">Handles</span><span class="w"> </span><span class="n">Button1</span><span class="p">.</span><span class="n">Click</span> <span class="w"> </span><span class="k">Me</span><span class="p">.</span><span class="n">Close</span><span class="p">()</span><span class="w"> </span><span class="c">&#39; On ferme la fenêtre parente (grâce à Me) donc l&#39;application</span> <span class="w"> </span><span class="k">End</span><span class="w"> </span><span class="k">Sub</span> <span class="k">End</span><span class="w"> </span><span class="k">Class</span> </pre></div> <div class="mw-heading mw-heading3"><h3 id="Exemple_d'un_code_appelant_une_fonction"><span id="Exemple_d.27un_code_appelant_une_fonction"></span>Exemple d'un code appelant une fonction</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Visual_Basic_.NET&amp;veaction=edit&amp;section=16" title="Modifier la section : Exemple d&#039;un code appelant une fonction" class="mw-editsection-visualeditor"><span>modifier</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Visual_Basic_.NET&amp;action=edit&amp;section=16" title="Modifier le code source de la section : Exemple d&#039;un code appelant une fonction"><span>modifier le code</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-highlight mw-highlight-lang-vbnet mw-content-ltr" dir="ltr"><pre><span></span><span class="k">Public</span><span class="w"> </span><span class="k">Class</span><span class="w"> </span><span class="nc">Form1</span> <span class="w"> </span><span class="c">&#39; Création de la fonction Quitter avec un Private Sub</span> <span class="w"> </span><span class="k">Private</span><span class="w"> </span><span class="k">Sub</span><span class="w"> </span><span class="nf">Quitter</span><span class="p">()</span> <span class="w"> </span><span class="k">Me</span><span class="p">.</span><span class="n">Close</span><span class="p">()</span> <span class="w"> </span><span class="k">End</span><span class="w"> </span><span class="k">Sub</span> <span class="w"> </span><span class="c">&#39; Lorsque l&#39;utilisateur clique sur l&#39;objet Button1</span> <span class="w"> </span><span class="k">Private</span><span class="w"> </span><span class="k">Sub</span><span class="w"> </span><span class="nf">Button1_Click</span><span class="p">(</span><span class="k">ByVal</span><span class="w"> </span><span class="n">sender</span><span class="w"> </span><span class="ow">As</span><span class="w"> </span><span class="n">System</span><span class="p">.</span><span class="n">Object</span><span class="p">,</span><span class="w"> </span><span class="k">ByVal</span><span class="w"> </span><span class="n">e</span><span class="w"> </span><span class="ow">As</span><span class="w"> </span><span class="n">System</span><span class="p">.</span><span class="n">EventArgs</span><span class="p">)</span><span class="w"> </span><span class="k">Handles</span><span class="w"> </span><span class="n">Button1</span><span class="p">.</span><span class="n">Click</span> <span class="w"> </span><span class="k">Call</span><span class="w"> </span><span class="n">Quitter</span><span class="p">()</span><span class="w"> </span><span class="c">&#39; On appelle Private Sub Quitter()</span> <span class="w"> </span><span class="k">End</span><span class="w"> </span><span class="k">Sub</span> <span class="w"> </span><span class="c">&#39; Lorsque l&#39;utilisateur clique sur l&#39;objet Button2</span> <span class="w"> </span><span class="k">Private</span><span class="w"> </span><span class="k">Sub</span><span class="w"> </span><span class="nf">Button2_Click</span><span class="p">(</span><span class="k">ByVal</span><span class="w"> </span><span class="n">sender</span><span class="w"> </span><span class="ow">As</span><span class="w"> </span><span class="n">System</span><span class="p">.</span><span class="n">Object</span><span class="p">,</span><span class="w"> </span><span class="k">ByVal</span><span class="w"> </span><span class="n">e</span><span class="w"> </span><span class="ow">As</span><span class="w"> </span><span class="n">System</span><span class="p">.</span><span class="n">EventArgs</span><span class="p">)</span><span class="w"> </span><span class="k">Handles</span><span class="w"> </span><span class="n">Button2</span><span class="p">.</span><span class="n">Click</span> <span class="w"> </span><span class="k">Call</span><span class="w"> </span><span class="n">Quitter</span><span class="p">()</span><span class="w"> </span><span class="c">&#39; L&#39;avantage de ce code, c&#39;est qu&#39;on peut appeler Quitter() autant de fois que l&#39;on souhaite</span> <span class="w"> </span><span class="k">End</span><span class="w"> </span><span class="k">Sub</span> <span class="k">End</span><span class="w"> </span><span class="k">Class</span> </pre></div> <div class="mw-heading mw-heading2"><h2 id="Identité_visuelle"><span id="Identit.C3.A9_visuelle"></span>Identité visuelle</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Visual_Basic_.NET&amp;veaction=edit&amp;section=17" title="Modifier la section : Identité visuelle" class="mw-editsection-visualeditor"><span>modifier</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Visual_Basic_.NET&amp;action=edit&amp;section=17" title="Modifier le code source de la section : Identité visuelle"><span>modifier le code</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul class="gallery mw-gallery-traditional"> <li class="gallerybox" style="width: 155px"> <div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:File"><a href="/wiki/Fichier:Logo_VB.PNG" class="mw-file-description" title="Ancien logo."><img alt="Ancien logo." src="//upload.wikimedia.org/wikipedia/fr/thumb/4/4a/Logo_VB.PNG/120px-Logo_VB.PNG" decoding="async" width="120" height="116" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/fr/thumb/4/4a/Logo_VB.PNG/180px-Logo_VB.PNG 1.5x, //upload.wikimedia.org/wikipedia/fr/thumb/4/4a/Logo_VB.PNG/240px-Logo_VB.PNG 2x" data-file-width="265" data-file-height="256" /></a></span></div> <div class="gallerytext">Ancien <a href="/wiki/Logo" title="Logo">logo</a>.</div> </li> <li class="gallerybox" style="width: 155px"> <div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:File"><a href="/wiki/Fichier:VB.NET_Logo.svg" class="mw-file-description" title="Logo actuel."><img alt="Logo actuel." src="//upload.wikimedia.org/wikipedia/commons/thumb/4/40/VB.NET_Logo.svg/120px-VB.NET_Logo.svg.png" decoding="async" width="120" height="120" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/4/40/VB.NET_Logo.svg/180px-VB.NET_Logo.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/4/40/VB.NET_Logo.svg/240px-VB.NET_Logo.svg.png 2x" data-file-width="512" data-file-height="512" /></a></span></div> <div class="gallerytext">Logo actuel.</div> </li> </ul> <div class="mw-heading mw-heading2"><h2 id="Voir_aussi">Voir aussi</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Visual_Basic_.NET&amp;veaction=edit&amp;section=18" title="Modifier la section : Voir aussi" class="mw-editsection-visualeditor"><span>modifier</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Visual_Basic_.NET&amp;action=edit&amp;section=18" title="Modifier le code source de la section : Voir aussi"><span>modifier le code</span></a><span class="mw-editsection-bracket">]</span></span></div> <style data-mw-deduplicate="TemplateStyles:r194021218">.mw-parser-output .autres-projets>.titre{text-align:center;margin:0.2em 0}.mw-parser-output .autres-projets>ul{margin:0;padding:0}.mw-parser-output .autres-projets>ul>li{list-style:none;margin:0.2em 0;text-indent:0;padding-left:24px;min-height:20px;text-align:left;display:block}.mw-parser-output .autres-projets>ul>li>a{font-style:italic}@media(max-width:720px){.mw-parser-output .autres-projets{float:none}}</style><div class="autres-projets boite-grise boite-a-droite noprint js-interprojets"> <p class="titre">Sur les autres projets Wikimedia&#160;:</p> <ul class="noarchive plainlinks"> <li class="wikibooks"><a href="https://fr.wikibooks.org/wiki/Visual_Basic_.NET" class="extiw" title="b:Visual Basic .NET">Visual Basic .NET</a>, <span class="nowrap">sur <span class="project">Wikibooks</span></span></li> </ul> </div> <div class="mw-heading mw-heading3"><h3 id="Articles_connexes">Articles connexes</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Visual_Basic_.NET&amp;veaction=edit&amp;section=19" title="Modifier la section : Articles connexes" class="mw-editsection-visualeditor"><span>modifier</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Visual_Basic_.NET&amp;action=edit&amp;section=19" title="Modifier le code source de la section : Articles connexes"><span>modifier le code</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><a href="/wiki/Microsoft_.NET" title="Microsoft .NET">Microsoft .NET</a></li> <li><a href="/wiki/Visual_Studio" class="mw-redirect" title="Visual Studio">Visual Studio</a></li> <li><a href="/wiki/C_sharp" class="mw-redirect" title="C sharp">C#</a></li> <li><a href="/wiki/Visual_Basic" title="Visual Basic">Visual Basic</a></li> <li><a href="/wiki/BASIC" class="mw-redirect" title="BASIC">BASIC</a></li></ul> <div class="mw-heading mw-heading3"><h3 id="Notes_et_références"><span id="Notes_et_r.C3.A9f.C3.A9rences"></span>Notes et références</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Visual_Basic_.NET&amp;veaction=edit&amp;section=20" title="Modifier la section : Notes et références" class="mw-editsection-visualeditor"><span>modifier</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Visual_Basic_.NET&amp;action=edit&amp;section=20" title="Modifier le code source de la section : Notes et références"><span>modifier le code</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="references-small decimal" style=""><div class="mw-references-wrap"><ol class="references"> <li id="cite_note-wikidata-1d406ea45aac18cea8f0a0b6af1c04df44ff14d1-1"><span class="mw-cite-backlink noprint"><a href="#cite_ref-wikidata-1d406ea45aac18cea8f0a0b6af1c04df44ff14d1_1-0">↑</a> </span><span class="reference-text"><span class="ouvrage">«&#160;<a rel="nofollow" class="external text" href="https://learn.microsoft.com/en-us/visualstudio/releases/2019/release-notes-v16.9"><cite style="font-style:normal;">https://learn.microsoft.com/en-us/visualstudio/releases/2019/release-notes-v16.9</cite></a>&#160;»</span></span> </li> <li id="cite_note-wikidata-f3e0b47c7ffffa2f0fbbd9b2d9d4bb275bc27425-2"><span class="mw-cite-backlink noprint"><a href="#cite_ref-wikidata-f3e0b47c7ffffa2f0fbbd9b2d9d4bb275bc27425_2-0">↑</a> </span><span class="reference-text"><span class="ouvrage">«&#160;<a rel="nofollow" class="external text" href="https://learn.microsoft.com/en-us/dotnet/visual-basic/whats-new/#visual-basic-169"><cite style="font-style:normal;">https://learn.microsoft.com/en-us/dotnet/visual-basic/whats-new/#visual-basic-169</cite></a>&#160;»</span></span> </li> <li id="cite_note-wikidata-b65847688b95af220a3a013b8551f3789edcd85f-3"><span class="mw-cite-backlink noprint"><a href="#cite_ref-wikidata-b65847688b95af220a3a013b8551f3789edcd85f_3-0">↑</a> </span><span class="reference-text"><span class="ouvrage">«&#160;<a rel="nofollow" class="external text" href="https://dotnet.microsoft.com/en-us/download/dotnet/9.0"><cite style="font-style:normal;">https://dotnet.microsoft.com/en-us/download/dotnet/9.0</cite></a>&#160;»</span></span> </li> <li id="cite_note-4"><span class="mw-cite-backlink noprint"><a href="#cite_ref-4">↑</a> </span><span class="reference-text"><a rel="nofollow" class="external free" href="https://github.com/dotnet/roslyn/blob/1ff27b046b5c03abb38bfeda44eb82da0b8df9de/License.txt">https://github.com/dotnet/roslyn/blob/1ff27b046b5c03abb38bfeda44eb82da0b8df9de/License.txt</a></span> </li> </ol></div> </div> <div class="mw-heading mw-heading3"><h3 id="Liens_externes">Liens externes</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Visual_Basic_.NET&amp;veaction=edit&amp;section=21" title="Modifier la section : Liens externes" class="mw-editsection-visualeditor"><span>modifier</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Visual_Basic_.NET&amp;action=edit&amp;section=21" title="Modifier le code source de la section : Liens externes"><span>modifier le code</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><a rel="nofollow" class="external text" href="https://msdn.microsoft.com/fr-fr/library/2x7h1hfk.aspx">Centre de développement Visual Basic</a>, site <a href="/wiki/Microsoft_Developer_Network" title="Microsoft Developer Network">MSDN</a> de Microsoft</li> <li><a rel="nofollow" class="external text" href="https://www.microsoft.com/en-us/download/details.aspx?id=15039">Spécifications du langage Visual Basic</a></li></ul> <div class="navbox-container" style="clear:both;"> <table class="navbox collapsible noprint autocollapse" style=""> <tbody><tr><th class="navbox-title" colspan="3" style=""><div style="float:left; width:6em; text-align:left"><div class="noprint plainlinks nowrap tnavbar" style="padding:0; font-size:xx-small; color:var(--color-emphasized, #000000);"><a href="/wiki/Mod%C3%A8le:Palette_Microsoft" title="Modèle:Palette Microsoft"><abbr class="abbr" title="Voir ce modèle.">v</abbr></a>&#160;· <a class="external text" href="https://fr.wikipedia.org/w/index.php?title=Mod%C3%A8le:Palette_Microsoft&amp;action=edit"><abbr class="abbr" title="Modifier ce modèle. Merci de prévisualiser avant de sauvegarder.">m</abbr></a></div></div><div style="font-size:110%"><a href="/wiki/Microsoft" title="Microsoft">Microsoft</a></div></th> </tr> <tr> <th class="navbox-group" style="width:100px">Fondateurs</th> <td class="navbox-list" style=""><div class="liste-horizontale"> <ul><li><a href="/wiki/Bill_Gates" title="Bill Gates">Bill Gates</a></li> <li><a href="/wiki/Paul_Allen" title="Paul Allen">Paul Allen</a></li></ul> </div></td> <td class="navbox-image" rowspan="6" style="vertical-align:middle;padding-left:7px"><span typeof="mw:File"><a href="/wiki/Fichier:Microsoft_icon.svg" class="mw-file-description" title="Logo de Microsoft"><img alt="Logo de Microsoft" src="//upload.wikimedia.org/wikipedia/commons/thumb/2/25/Microsoft_icon.svg/80px-Microsoft_icon.svg.png" decoding="async" width="80" height="80" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/2/25/Microsoft_icon.svg/120px-Microsoft_icon.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/2/25/Microsoft_icon.svg/160px-Microsoft_icon.svg.png 2x" data-file-width="512" data-file-height="512" /></a></span></td> </tr> <tr> <th class="navbox-group" style="width:100px">Personnes clés</th> <td class="navbox-list navbox-even" style=""><div class="liste-horizontale"> <ul><li><a href="/wiki/Satya_Nadella" title="Satya Nadella">Satya Nadella</a></li> <li><a href="/wiki/Reid_Hoffman" title="Reid Hoffman">Reid Hoffman</a></li> <li><a href="/wiki/Penny_Pritzker" title="Penny Pritzker">Penny Pritzker</a></li> <li><a href="/wiki/Charles_Scharf" title="Charles Scharf">Charles Scharf</a></li> <li><a href="/wiki/Emma_Walmsley" title="Emma Walmsley">Emma Walmsley</a></li> <li><a href="/wiki/Amy_Hood" title="Amy Hood">Amy Hood</a></li> <li><a href="/wiki/Phil_Spencer" title="Phil Spencer">Phil Spencer</a></li> <li><a href="/wiki/Joe_Belfiore" title="Joe Belfiore">Joe Belfiore</a></li> <li><a href="/wiki/Panos_Panay_(Microsoft)" title="Panos Panay (Microsoft)">Panos Panay</a></li></ul> </div></td> </tr> <tr> <th class="navbox-group" style="width:100px">Produits</th> <td class="navbox-list" style=""><table class="navbox-subgroup" style=""> <tbody><tr> <th class="navbox-group" style="width:100px;">Systèmes d'exploitation</th> <td class="navbox-list" style=";"><div class="liste-horizontale"> <ul><li><a href="/wiki/Windows_8" title="Windows 8">Windows 8</a></li> <li><a href="/wiki/Windows_Phone_8" title="Windows Phone 8">Windows Phone 8</a></li> <li><a href="/wiki/Windows_Server_2012" title="Windows Server 2012">Windows Server 2012</a></li> <li><a href="/wiki/Windows_10" title="Windows 10">Windows 10</a></li> <li><a href="/wiki/Windows_10_Mobile" title="Windows 10 Mobile">Windows 10 Mobile</a></li> <li><a href="/wiki/Windows_Server_2016" title="Windows Server 2016">Windows Server 2016</a></li> <li><a href="/wiki/Windows_Server_2019" title="Windows Server 2019">Windows Server 2019</a></li> <li><a href="/wiki/Windows_11" title="Windows 11">Windows 11</a></li></ul> </div></td> </tr> <tr> <th class="navbox-group" style="width:100px;">Matériel</th> <td class="navbox-list navbox-even" style=";"><div class="liste-horizontale"> <ul><li><a href="/wiki/Kinect" title="Kinect">Kinect</a></li> <li><a href="/wiki/Xbox_(console)" title="Xbox (console)">Xbox</a></li> <li><a href="/wiki/Xbox_360" title="Xbox 360">Xbox 360</a></li> <li><a href="/wiki/Xbox_One" title="Xbox One">Xbox One</a></li> <li><a href="/wiki/Xbox_Series" title="Xbox Series">Xbox Series</a></li> <li><a href="/wiki/Microsoft_Band" title="Microsoft Band">Band</a></li> <li><a href="/wiki/Microsoft_Lumia" title="Microsoft Lumia">Lumia</a></li> <li><a href="/wiki/Microsoft_Surface" title="Microsoft Surface">Surface</a></li> <li><a href="/wiki/Microsoft_HoloLens" title="Microsoft HoloLens">HoloLens</a></li></ul> </div></td> </tr> <tr> <th class="navbox-group" style="width:100px;"><a href="/wiki/Liste_des_programmes_de_Microsoft" title="Liste des programmes de Microsoft">Logiciels</a></th> <td class="navbox-list" style=";"><div class="liste-horizontale"> <ul><li><a href="/wiki/Microsoft_365" title="Microsoft 365">365</a></li> <li><a href="/wiki/Microsoft_Edge" title="Microsoft Edge">Edge</a></li> <li><a href="/wiki/Havok_(moteur_de_jeu)" title="Havok (moteur de jeu)">Havok</a></li> <li><a href="/wiki/Windows_Movie_Maker" title="Windows Movie Maker">Movie Maker</a></li> <li><a href="/wiki/Microsoft_Office" title="Microsoft Office">Office</a> <ul><li><a href="/wiki/Microsoft_Word" title="Microsoft Word">Word</a></li> <li><a href="/wiki/Microsoft_Excel" title="Microsoft Excel">Excel</a></li> <li><a href="/wiki/Microsoft_PowerPoint" title="Microsoft PowerPoint">PowerPoint</a></li> <li><a href="/wiki/Microsoft_Outlook" title="Microsoft Outlook">Outlook</a></li> <li><a href="/wiki/Microsoft_OneNote" title="Microsoft OneNote">OneNote</a></li></ul></li> <li><a href="/wiki/Microsoft_OneDrive" title="Microsoft OneDrive">OneDrive</a></li> <li><a href="/wiki/Microsoft_Paint" title="Microsoft Paint">Paint</a></li> <li><a href="/wiki/Microsoft_Servers" title="Microsoft Servers">Servers</a></li> <li><a href="/wiki/Skype" title="Skype">Skype</a></li> <li><a href="/wiki/Tay_(intelligence_artificielle)" title="Tay (intelligence artificielle)">Tay</a></li> <li><a href="/wiki/Microsoft_Teams" title="Microsoft Teams">Teams</a></li> <li><a href="/wiki/Microsoft_Visual_Studio" title="Microsoft Visual Studio">Microsoft Visual Studio</a></li> <li><a href="/wiki/Visual_Studio_Code" title="Visual Studio Code">Visual Studio Code</a></li></ul> </div></td> </tr> <tr> <th class="navbox-group" style="width:100px;">Applications Web</th> <td class="navbox-list navbox-even" style=";"><div class="liste-horizontale"> <ul><li><a href="/wiki/Microsoft_Bing" title="Microsoft Bing">Bing</a></li> <li><a href="/wiki/Calendrier_(Microsoft)" title="Calendrier (Microsoft)">Calendrier</a></li> <li><a href="/wiki/Contacts_(Microsoft)" title="Contacts (Microsoft)">Contacts</a></li> <li><a href="/wiki/Microsoft_Developer_Network" title="Microsoft Developer Network">Developer Network</a></li> <li><a href="/wiki/LinkedIn" title="LinkedIn">LinkedIn</a></li> <li><a href="/wiki/Bing_Cartes" title="Bing Cartes">Maps</a></li> <li><a href="/wiki/MSN" title="MSN">MSN</a></li> <li><a href="/wiki/Microsoft_Office_Online" title="Microsoft Office Online">Office Online</a></li> <li><a href="/wiki/Microsoft_OneDrive" title="Microsoft OneDrive">OneDrive.com</a></li> <li><a href="/wiki/Microsoft_Store" title="Microsoft Store">Microsoft Store</a></li> <li><a href="/wiki/Microsoft_TechNet" title="Microsoft TechNet">TechNet</a></li> <li><a href="/wiki/Microsoft_Translator" title="Microsoft Translator">Traduction</a></li></ul> </div></td> </tr> <tr> <th class="navbox-group" style="width:100px;">Outils</th> <td class="navbox-list" style=";"><div class="liste-horizontale"> <ul><li><a href="/wiki/Cortana_(assistant_personnel_intelligent)" title="Cortana (assistant personnel intelligent)">Cortana</a></li> <li><a href="/wiki/Explorateur_Windows" class="mw-redirect" title="Explorateur Windows">Explorateur Windows</a></li> <li><a href="/wiki/Windows_Defender" class="mw-redirect" title="Windows Defender">Windows Defender</a></li> <li><a href="/wiki/Microsoft_Store_(programme)" title="Microsoft Store (programme)">Microsoft Store</a></li></ul> </div></td> </tr> <tr> <th class="navbox-group" style="width:100px;">Technologie</th> <td class="navbox-list navbox-even" style=";"><div class="liste-horizontale"> <ul><li><a href="/wiki/Active_Directory" title="Active Directory">Active Directory</a></li> <li><a href="/wiki/Microsoft_Azure" title="Microsoft Azure">Azure</a></li> <li><a href="/wiki/C_Sharp" title="C Sharp">C#</a></li> <li><a href="/wiki/DirectX" title="DirectX">DirectX</a></li> <li><a href="/wiki/Microsoft_Dynamics" title="Microsoft Dynamics">Dynamics</a></li> <li><a href="/wiki/GitHub" title="GitHub">GitHub</a></li> <li><a href="/wiki/Microsoft_.NET" title="Microsoft .NET">.NET</a></li> <li><a href="/wiki/Microsoft_SQL_Server" title="Microsoft SQL Server">SQL Server</a></li> <li><a href="/wiki/TypeScript" title="TypeScript">TypeScript</a></li> <li><a class="mw-selflink selflink">Visual Basic .NET</a></li> <li><a href="/wiki/Visual_C%2B%2B" title="Visual C++">Visual C++</a></li></ul> </div></td> </tr> <tr> <th class="navbox-group" style="width:100px;">Anciens produits</th> <td class="navbox-list" style=";"><div class="liste-horizontale"> <ul><li><a href="/wiki/Altair_BASIC" title="Altair BASIC">Altair BASIC</a></li> <li><a href="/wiki/Encarta" title="Encarta">Encarta</a></li> <li><a href="/wiki/Microsoft_Works" title="Microsoft Works">Works</a></li> <li><a href="/wiki/Windows_Mobile" title="Windows Mobile">Mobile</a></li> <li><a href="/wiki/Microsoft_Money" title="Microsoft Money">Money</a></li> <li><a href="/wiki/Windows_Live_Messenger" title="Windows Live Messenger">Messenger</a></li></ul> </div></td> </tr> </tbody></table></td> </tr> <tr> <th class="navbox-group" style="width:100px">Entreprise</th> <td class="navbox-list navbox-even" style=""><table class="navbox-subgroup" style=""> <tbody><tr> <th class="navbox-group" style="width:100px;">Conférences</th> <td class="navbox-list" style=";"><div class="liste-horizontale"> <ul><li><a href="/wiki/Conf%C3%A9rence_Build" title="Conférence Build">Build</a></li> <li><a href="/wiki/Windows_Hardware_Engineering_Conference" title="Windows Hardware Engineering Conference">WinHEC</a></li> <li><a href="/wiki/Xbox_Developer_Direct" title="Xbox Developer Direct">Xbox Developer Direct</a></li></ul> </div></td> </tr> <tr> <th class="navbox-group" style="width:100px;">Divisions</th> <td class="navbox-list navbox-even" style=";"><div class="liste-horizontale"> <ul><li><a href="/wiki/Microsoft_Skype_Division" title="Microsoft Skype Division">Skype unit</a></li> <li><a href="/wiki/Microsoft_Research" title="Microsoft Research">Research</a></li> <li><a href="/wiki/Microsoft_Store" title="Microsoft Store">Store</a></li> <li><a href="/wiki/Microsoft_Gaming" title="Microsoft Gaming">Gaming</a> <ul><li><a href="/wiki/Xbox_Game_Studios" title="Xbox Game Studios">Xbox Game Studios</a></li> <li><a href="/wiki/ZeniMax_Media" title="ZeniMax Media">ZeniMax Media</a></li> <li><a href="/wiki/Activision_Blizzard" title="Activision Blizzard">Activision Blizzard</a></li></ul></li></ul> </div></td> </tr> </tbody></table></td> </tr> <tr> <th class="navbox-group" style="width:100px"><a href="/wiki/Affaires_et_controverses_de_Microsoft" title="Affaires et controverses de Microsoft">Litiges</a> et <a href="/wiki/Affaires_et_controverses_de_Microsoft" title="Affaires et controverses de Microsoft">critiques</a></th> <td class="navbox-list" style=""><div class="liste-horizontale"> <ul><li><a href="/wiki/Taxe_Windows" title="Taxe Windows">Taxe Windows</a></li> <li><a href="/wiki/Clippy" title="Clippy">Clippy</a></li> <li><a href="/wiki/Internet_Explorer#Critiques" title="Internet Explorer">Internet Explorer</a></li> <li><a href="/wiki/Microsoft_Bob" title="Microsoft Bob">Microsoft Bob</a></li> <li><a href="/wiki/NSAKEY" title="NSAKEY">_NSAKEY</a></li> <li><a href="/wiki/Microsoft_Windows#Controverses" title="Microsoft Windows">Microsoft Windows</a></li> <li><a href="/w/index.php?title=Microsoft_Corp._v._Commission&amp;action=edit&amp;redlink=1" class="new" title="Microsoft Corp. v. Commission (page inexistante)">Microsoft Corp. v. Commission</a></li> <li><a href="/w/index.php?title=FTC_v._Microsoft&amp;action=edit&amp;redlink=1" class="new" title="FTC v. Microsoft (page inexistante)">FTC v. Microsoft</a></li> <li><a href="/w/index.php?title=United_States_v._Microsoft_Corp.&amp;action=edit&amp;redlink=1" class="new" title="United States v. Microsoft Corp. (page inexistante)">United States v. Microsoft Corp.</a></li></ul> </div></td> </tr> <tr> <th class="navbox-group" style="width:100px">Articles liés</th> <td class="navbox-list navbox-even" style=""><div class="liste-horizontale"> <ul><li><a href="/wiki/Microsoft_Redmond_campus" title="Microsoft Redmond campus">Microsoft Redmond campus</a></li> <li><a href="/wiki/Fondation_Bill-et-Melinda-Gates" title="Fondation Bill-et-Melinda-Gates">Fondation Bill-et-Melinda-Gates</a></li> <li><a href="/wiki/Maison_de_Bill_Gates" title="Maison de Bill Gates">Maison de Bill et Melinda Gates</a></li> <li><a href="/wiki/Acquisition_d%27Activision_Blizzard_par_Microsoft" title="Acquisition d&#39;Activision Blizzard par Microsoft">Acquisition d'Activision Blizzard par Microsoft</a></li></ul> </div></td> </tr> </tbody></table> <table class="navbox collapsible noprint autocollapse" style=""> <tbody><tr><th class="navbox-title" colspan="2" style=""><div style="float:left; width:6em; text-align:left"><div class="noprint plainlinks nowrap tnavbar" style="padding:0; font-size:xx-small; color:var(--color-emphasized, #000000);"><a href="/wiki/Mod%C3%A8le:Palette_Framework_.NET" title="Modèle:Palette Framework .NET"><abbr class="abbr" title="Voir ce modèle.">v</abbr></a>&#160;· <a class="external text" href="https://fr.wikipedia.org/w/index.php?title=Mod%C3%A8le:Palette_Framework_.NET&amp;action=edit"><abbr class="abbr" title="Modifier ce modèle. Merci de prévisualiser avant de sauvegarder.">m</abbr></a></div></div><div style="font-size:110%"><a href="/wiki/.NET_Framework" title=".NET Framework">.NET Framework</a></div></th> </tr> <tr> <td class="navbox-banner" style="" colspan="2"><div class="liste-horizontale"> <ul><li><a href="/wiki/Common_Language_Infrastructure" title="Common Language Infrastructure">Common Language Infrastructure</a></li> <li><a href="/wiki/Microsoft_.NET" title="Microsoft .NET">Microsoft .NET</a></li> <li><a href="/wiki/Mono_(logiciel)" title="Mono (logiciel)">Mono</a></li> <li><a href="/wiki/.NET" title=".NET">.NET</a></li></ul> </div></td> </tr> <tr> <th class="navbox-group" style="">Composants</th> <td class="navbox-list" style=""><div class="liste-horizontale"> <ul><li><a href="/wiki/ASP.NET" title="ASP.NET">ASP.NET</a></li> <li><a href="/wiki/Common_Language_Runtime" title="Common Language Runtime">Common Language Runtime</a></li> <li><a href="/wiki/Dynamic_Language_Runtime" title="Dynamic Language Runtime">Dynamic Language Runtime</a></li> <li><a href="/wiki/Windows_CardSpace" title="Windows CardSpace">Windows CardSpace</a></li> <li><a href="/wiki/Windows_Communication_Foundation" title="Windows Communication Foundation">Windows Communication Foundation</a></li> <li><a href="/wiki/Windows_Forms" title="Windows Forms">Windows Forms</a></li> <li><a href="/wiki/Windows_Presentation_Foundation" title="Windows Presentation Foundation">Windows Presentation Foundation</a></li> <li><a href="/wiki/Windows_Workflow_Foundation" title="Windows Workflow Foundation">Windows Workflow Foundation</a></li></ul> </div></td> </tr> <tr> <th class="navbox-group" style=""><a href="/wiki/Langage_de_programmation" title="Langage de programmation">Langages de programmation</a></th> <td class="navbox-list navbox-even" style=""><table class="navbox-subgroup" style=""> <tbody><tr> <th class="navbox-group" style=""><a href="/wiki/Microsoft_Visual_Studio" title="Microsoft Visual Studio">Visual Studio</a></th> <td class="navbox-list" style=";"><div class="liste-horizontale"> <ul><li><a href="/wiki/C%2B%2B" title="C++">C++/CLI</a></li> <li><a href="/wiki/C_Sharp" title="C Sharp">C#</a></li> <li><a href="/wiki/F_Sharp" title="F Sharp">F#</a></li> <li><a href="/wiki/J_Sharp" title="J Sharp">J#</a></li> <li><a href="/wiki/Visual_Basic" title="Visual Basic">Visual Basic</a></li></ul> </div></td> </tr> <tr> <th class="navbox-group" style="">Autres</th> <td class="navbox-list navbox-even" style=";"><div class="liste-horizontale"> <ul><li><a href="/wiki/Clojure" title="Clojure">Clojure</a></li> <li><a href="/wiki/Java_(langage)" title="Java (langage)">Java</a> <ul><li><a href="/w/index.php?title=RemObjects_Software&amp;action=edit&amp;redlink=1" class="new" title="RemObjects Software (page inexistante)">Iodine</a>&#160;<a href="https://en.wikipedia.org/wiki/RemObjects_Software" class="extiw" title="en:RemObjects Software"><span class="indicateur-langue" title="Article en anglais&#160;: «&#160;RemObjects Software&#160;»">(en)</span></a></li></ul></li> <li><a href="/w/index.php?title=Oxygene_(langage)&amp;action=edit&amp;redlink=1" class="new" title="Oxygene (langage) (page inexistante)">Oxygene</a>&#160;<a href="https://en.wikipedia.org/wiki/Oxygene_(programming_language)" class="extiw" title="en:Oxygene (programming language)"><span class="indicateur-langue" title="Article en anglais&#160;: «&#160;Oxygene (programming language)&#160;»">(en)</span></a></li> <li><a href="/wiki/PHP" title="PHP">PHP</a> <ul><li><a href="/wiki/PeachPie" title="PeachPie">PeachPie</a></li> <li><a href="/wiki/Phalanger_(compilateur)" title="Phalanger (compilateur)">Phalanger</a></li></ul></li> <li><a href="/wiki/Python_(langage)" title="Python (langage)">Python</a> <ul><li><a href="/wiki/IronPython" title="IronPython">IronPython</a></li> <li><a href="/w/index.php?title=Python_Tools_for_Visual_Studio&amp;action=edit&amp;redlink=1" class="new" title="Python Tools for Visual Studio (page inexistante)">PTVS</a>&#160;<a href="https://en.wikipedia.org/wiki/Python_Tools_for_Visual_Studio" class="extiw" title="en:Python Tools for Visual Studio"><span class="indicateur-langue" title="Article en anglais&#160;: «&#160;Python Tools for Visual Studio&#160;»">(en)</span></a></li></ul></li> <li><a href="/wiki/Ruby" title="Ruby">Ruby</a> <ul><li><a href="/wiki/IronRuby" title="IronRuby">IronRuby</a></li></ul></li> <li><a href="/wiki/Scheme" title="Scheme">Scheme</a> <ul><li><a href="/wiki/IronScheme" title="IronScheme">IronScheme</a></li></ul></li> <li><a href="/wiki/Swift_(langage_d%27Apple)" title="Swift (langage d&#39;Apple)">Swift</a> <ul><li><a href="/w/index.php?title=RemObjects_Software&amp;action=edit&amp;redlink=1" class="new" title="RemObjects Software (page inexistante)">Silver</a>&#160;<a href="https://en.wikipedia.org/wiki/RemObjects_Software" class="extiw" title="en:RemObjects Software"><span class="indicateur-langue" title="Article en anglais&#160;: «&#160;RemObjects Software&#160;»">(en)</span></a></li></ul></li></ul> </div></td> </tr> </tbody></table></td> </tr> <tr> <th class="navbox-group" style=""><a href="/wiki/Environnement_de_d%C3%A9veloppement" title="Environnement de développement">Environnements de développement</a></th> <td class="navbox-list" style=""><div class="liste-horizontale"> <ul><li><a href="/wiki/Microsoft_Visual_Studio" title="Microsoft Visual Studio">Microsoft Visual Studio</a></li> <li><a href="/wiki/MonoDevelop" title="MonoDevelop">MonoDevelop</a></li> <li><a href="/wiki/SharpDevelop" title="SharpDevelop">SharpDevelop</a></li> <li><a href="/wiki/Xamarin" title="Xamarin">Xamarin Studio</a></li></ul> </div></td> </tr> <tr> <th class="navbox-group" style="">Bibliothèques complémentaires</th> <td class="navbox-list navbox-even" style=""><div class="liste-horizontale"> <ul><li><a href="/wiki/Gtk_Sharp" title="Gtk Sharp">GTK#</a></li> <li><a href="/w/index.php?title=QtSharp&amp;action=edit&amp;redlink=1" class="new" title="QtSharp (page inexistante)">Qt#</a></li></ul> </div></td> </tr> </tbody></table> </div> <ul id="bandeau-portail" class="bandeau-portail"><li><span class="bandeau-portail-element"><span class="bandeau-portail-icone"><span class="noviewer" typeof="mw:File"><a href="/wiki/Portail:Microsoft" title="Portail de Microsoft"><img alt="icône décorative" src="//upload.wikimedia.org/wikipedia/commons/thumb/2/25/Microsoft_icon.svg/24px-Microsoft_icon.svg.png" decoding="async" width="24" height="24" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/2/25/Microsoft_icon.svg/36px-Microsoft_icon.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/2/25/Microsoft_icon.svg/48px-Microsoft_icon.svg.png 2x" data-file-width="512" data-file-height="512" /></a></span></span> <span class="bandeau-portail-texte"><a href="/wiki/Portail:Microsoft" title="Portail:Microsoft">Portail de Microsoft</a></span> </span></li> <li><span class="bandeau-portail-element"><span class="bandeau-portail-icone"><span class="noviewer" typeof="mw:File"><a href="/wiki/Portail:Programmation_informatique" title="Portail de la programmation informatique"><img alt="icône décorative" src="//upload.wikimedia.org/wikipedia/commons/thumb/c/cc/Circle-icons-dev.svg/24px-Circle-icons-dev.svg.png" decoding="async" width="24" height="24" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/c/cc/Circle-icons-dev.svg/36px-Circle-icons-dev.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/c/cc/Circle-icons-dev.svg/48px-Circle-icons-dev.svg.png 2x" data-file-width="512" data-file-height="512" /></a></span></span> <span class="bandeau-portail-texte"><a href="/wiki/Portail:Programmation_informatique" title="Portail:Programmation informatique">Portail de la programmation informatique</a></span> </span></li> </ul> <!-- NewPP limit report Parsed by mw‐web.codfw.main‐f69cdc8f6‐4fxvw Cached time: 20241124120137 Cache expiry: 2592000 Reduced expiry: false Complications: [show‐toc] CPU time usage: 0.307 seconds Real time usage: 0.536 seconds Preprocessor visited node count: 3010/1000000 Post‐expand include size: 105340/2097152 bytes Template argument size: 38131/2097152 bytes Highest expansion depth: 17/100 Expensive parser function count: 13/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 34511/5000000 bytes Lua time usage: 0.092/10.000 seconds Lua memory usage: 3001330/52428800 bytes Number of Wikibase entities loaded: 1/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 314.968 1 -total 59.19% 186.441 1 Modèle:Infobox_Langage_de_programmation 55.39% 174.460 17 Modèle:Wikidata 25.84% 81.403 21 Modèle:Infobox/Ligne_mixte_optionnelle 16.74% 52.726 1 Modèle:Palette 15.99% 50.375 2 Modèle:Infobox/Image_optionnelle 14.52% 45.733 1 Modèle:Portail 13.27% 41.795 2 Modèle:Méta_palette_de_navigation 9.67% 30.444 1 Modèle:Infobox/Titre 8.17% 25.736 1 Modèle:Palette_Framework_.NET --> <!-- Saved in parser cache with key frwiki:pcache:idhash:260294-0!canonical and timestamp 20241124120137 and revision id 211175153. Rendering was triggered because: page-view --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Ce document provient de «&#160;<a dir="ltr" href="https://fr.wikipedia.org/w/index.php?title=Visual_Basic_.NET&amp;oldid=211175153">https://fr.wikipedia.org/w/index.php?title=Visual_Basic_.NET&amp;oldid=211175153</a>&#160;».</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Cat%C3%A9gorie:Accueil" title="Catégorie:Accueil">Catégories</a> : <ul><li><a href="/wiki/Cat%C3%A9gorie:Langage_de_programmation" title="Catégorie:Langage de programmation">Langage de programmation</a></li><li><a href="/wiki/Cat%C3%A9gorie:Langage_orient%C3%A9_objet" title="Catégorie:Langage orienté objet">Langage orienté objet</a></li><li><a href="/wiki/Cat%C3%A9gorie:Environnement_de_d%C3%A9veloppement_int%C3%A9gr%C3%A9" title="Catégorie:Environnement de développement intégré">Environnement de développement intégré</a></li><li><a href="/wiki/Cat%C3%A9gorie:.NET_Framework" title="Catégorie:.NET Framework">.NET Framework</a></li></ul></div><div id="mw-hidden-catlinks" class="mw-hidden-catlinks mw-hidden-cats-hidden">Catégories cachées : <ul><li><a href="/wiki/Cat%C3%A9gorie:Page_utilisant_P856" title="Catégorie:Page utilisant P856">Page utilisant P856</a></li><li><a href="/wiki/Cat%C3%A9gorie:Page_utilisant_P1195" title="Catégorie:Page utilisant P1195">Page utilisant P1195</a></li><li><a href="/wiki/Cat%C3%A9gorie:Article_utilisant_une_Infobox" title="Catégorie:Article utilisant une Infobox">Article utilisant une Infobox</a></li><li><a href="/wiki/Cat%C3%A9gorie:Article_contenant_un_appel_%C3%A0_traduction_en_anglais" title="Catégorie:Article contenant un appel à traduction en anglais">Article contenant un appel à traduction en anglais</a></li><li><a href="/wiki/Cat%C3%A9gorie:Portail:Microsoft/Articles_li%C3%A9s" title="Catégorie:Portail:Microsoft/Articles liés">Portail:Microsoft/Articles liés</a></li><li><a href="/wiki/Cat%C3%A9gorie:Portail:Informatique/Articles_li%C3%A9s" title="Catégorie:Portail:Informatique/Articles liés">Portail:Informatique/Articles liés</a></li><li><a href="/wiki/Cat%C3%A9gorie:Portail:Programmation_informatique/Articles_li%C3%A9s" title="Catégorie:Portail:Programmation informatique/Articles liés">Portail:Programmation informatique/Articles liés</a></li></ul></div></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> <li id="footer-info-lastmod"> La dernière modification de cette page a été faite le 4 janvier 2024 à 15:17.</li> <li id="footer-info-copyright"><span style="white-space: normal"><a href="/wiki/Wikip%C3%A9dia:Citation_et_r%C3%A9utilisation_du_contenu_de_Wikip%C3%A9dia" title="Wikipédia:Citation et réutilisation du contenu de Wikipédia">Droit d'auteur</a>&#160;: les textes sont disponibles sous <a rel="nofollow" class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.fr">licence Creative Commons attribution, partage dans les mêmes conditions</a>&#160;; d’autres conditions peuvent s’appliquer. Voyez les <a class="external text" href="https://foundation.wikimedia.org/wiki/Policy:Terms_of_Use/fr">conditions d’utilisation</a> pour plus de détails, ainsi que les <a href="/wiki/Wikip%C3%A9dia:Cr%C3%A9dits_graphiques" title="Wikipédia:Crédits graphiques">crédits graphiques</a>. En cas de réutilisation des textes de cette page, voyez <a href="/wiki/Sp%C3%A9cial:Citer/Visual_Basic_.NET" title="Spécial:Citer/Visual Basic .NET">comment citer les auteurs et mentionner la licence</a>.<br /> Wikipedia® est une marque déposée de la <a rel="nofollow" class="external text" href="https://wikimediafoundation.org/">Wikimedia Foundation, Inc.</a>, organisation de bienfaisance régie par le paragraphe <a href="/wiki/501c" title="501c">501(c)(3)</a> du code fiscal des États-Unis.</span><br /></li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy/fr">Politique de confidentialité</a></li> <li id="footer-places-about"><a href="/wiki/Wikip%C3%A9dia:%C3%80_propos_de_Wikip%C3%A9dia">À propos de Wikipédia</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Wikip%C3%A9dia:Avertissements_g%C3%A9n%C3%A9raux">Avertissements</a></li> <li id="footer-places-contact"><a href="//fr.wikipedia.org/wiki/Wikipédia:Contact">Contact</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Code de conduite</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Développeurs</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/fr.wikipedia.org">Statistiques</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Déclaration sur les témoins (cookies)</a></li> <li id="footer-places-mobileview"><a href="//fr.m.wikipedia.org/w/index.php?title=Visual_Basic_.NET&amp;mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Version mobile</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> </div> </div> </div> <div class="vector-settings" id="p-dock-bottom"> <ul></ul> </div><script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgHostname":"mw-web.codfw.main-f69cdc8f6-4fxvw","wgBackendResponseTime":763,"wgPageParseReport":{"limitreport":{"cputime":"0.307","walltime":"0.536","ppvisitednodes":{"value":3010,"limit":1000000},"postexpandincludesize":{"value":105340,"limit":2097152},"templateargumentsize":{"value":38131,"limit":2097152},"expansiondepth":{"value":17,"limit":100},"expensivefunctioncount":{"value":13,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":34511,"limit":5000000},"entityaccesscount":{"value":1,"limit":400},"timingprofile":["100.00% 314.968 1 -total"," 59.19% 186.441 1 Modèle:Infobox_Langage_de_programmation"," 55.39% 174.460 17 Modèle:Wikidata"," 25.84% 81.403 21 Modèle:Infobox/Ligne_mixte_optionnelle"," 16.74% 52.726 1 Modèle:Palette"," 15.99% 50.375 2 Modèle:Infobox/Image_optionnelle"," 14.52% 45.733 1 Modèle:Portail"," 13.27% 41.795 2 Modèle:Méta_palette_de_navigation"," 9.67% 30.444 1 Modèle:Infobox/Titre"," 8.17% 25.736 1 Modèle:Palette_Framework_.NET"]},"scribunto":{"limitreport-timeusage":{"value":"0.092","limit":"10.000"},"limitreport-memusage":{"value":3001330,"limit":52428800}},"cachereport":{"origin":"mw-web.codfw.main-f69cdc8f6-4fxvw","timestamp":"20241124120137","ttl":2592000,"transientcontent":false}}});});</script> <script type="application/ld+json">{"@context":"https:\/\/schema.org","@type":"Article","name":"Visual Basic .NET","url":"https:\/\/fr.wikipedia.org\/wiki\/Visual_Basic_.NET","sameAs":"http:\/\/www.wikidata.org\/entity\/Q50077","mainEntity":"http:\/\/www.wikidata.org\/entity\/Q50077","author":{"@type":"Organization","name":"Contributeurs aux projets Wikimedia"},"publisher":{"@type":"Organization","name":"Fondation Wikimedia, Inc.","logo":{"@type":"ImageObject","url":"https:\/\/www.wikimedia.org\/static\/images\/wmf-hor-googpub.png"}},"datePublished":"2005-05-12T12:25:22Z","dateModified":"2024-01-04T14:17:59Z","image":"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/4\/40\/VB.NET_Logo.svg","headline":"langage de programmation"}</script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10