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 6174613
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:46:58+00:00 2026-05-23T23:46:58+00:00

VB.NET doesn’t have out parameters, but you can specify <Out()> ByRef on COM and

  • 0

VB.NET doesn’t have out parameters, but you can specify <Out()> ByRef on COM and P/Invoke methods to get the same effect for external methods.

Does specifying the same on internal methods (i.e. methods only called by .NET code) actually help the Jitter (or VB.NET compiler)? Or is it currently only useful as a programmer note.

Is it possible it could be used in a future Jitter, or is this attribute lost when compiling?

  • 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-23T23:46:59+00:00Added an answer on May 23, 2026 at 11:46 pm

    I’ve confirmed a VB.NET <Out()> does cause a C# client to require out arguments, so it does seem to be effectively the same.

    Also a C# client passes in its arguments with current values into the method, but that’s not surprising because, unlike the COM or P/Invoke cases, there’s no marshalling to do. (And C# won’t allow a property to be set by an out argument directly, so there doesn’t seem to be a way to see if C# would optimise away a previous unneeded assignment.)

    So it seems the answer is it does help possible future C# clients use the code, and if the jitter ever adjusts the C# equivalent, it would do the same here. Though because languages like VB exist, it can’t do much because they don’t respect the Out attribute themselves.

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

Sidebar

Related Questions

I have seen code like this: function($cfg) use ($connections) {} but php.net doesn't seem
I got a Utility module since VB.NET doesn't have static class like C# and
To my endless disbelief I discovered the .NET stack doesn't have the answer for
SqlServerCe doesn't seem be supported in .net 4.0. But since I needed an embedded
ASP.Net 3.5 running under IIS 7 doesn't seem to allow this out of the
In .Net (VB more specifically, but that doesn't really matter), is there a way
As .NET doesn't use C style null s to end a string how can
I have a wordpress website which is manjeri.net it doesn't show www before the
mavensearch.net doesn't know current versions in many cases, mvnrepository.com is a bit more up
I'm using SIM. I perform a transaction, but Authorize.net doesn't return all the transaction

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.