Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6103197
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T13:42:06+00:00 2026-05-23T13:42:06+00:00

Possible Duplicate: What is the use of the := syntax? I’ve tried hunting down

  • 0

Possible Duplicate:
What is the use of the := syntax?

I’ve tried hunting down the MDSN documentation for := in VB.NET as well as scoured Google only to be linked to a dead MSDN page… What would the purpose of := be?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T13:42:06+00:00Added an answer on May 23, 2026 at 1:42 pm

    It strongly names arguments, allowing you to call a method with arguments in an order other than that specified in the method definition.

    For example:

    sub foo (byval x As Long, byval y As Long)
       debug.print (String.Format("{0}, {1}", x.ToString, y.ToString))
    end Function
    

    can be called with the order of the arguments reversed by using their names:

    foo (y:=999, x:=111)
    

    prints:

    111, 999
    

    This is especially useful when you have a long list of optional arguments, you only want to specify a few of them, and those that you want to specify are not the first ones.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Should I prefer to use literal syntax or constructors for creating dictionaries
Possible Duplicate: Use autorelease when setting a retain property using dot syntax? What is
Possible Duplicate: Alternate C syntax for function declaration use cases I see this very
Possible Duplicate: What's the difference between dot syntax and square bracket syntax? I've tried
Possible Duplicate: Why use getters and setters? Is there any advantage to making methods
Possible Duplicate: Proper Use of yield return What is the use of the yield
Possible Duplicate: Why use document.write? Considering the negative effects of document.write(), why are most
Possible Duplicate: How to Use setTimeout in a for…loop calling setTimeout with a for
Possible Duplicate: When to use C++ private inheritance over composition? Please help me with
Possible Duplicate: Can we use any other TAG inside <ul> along with <li>? Or

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.