By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,333 Members | 1,060 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,333 IT Pros & Developers. It's quick & easy.

Convert from C# to VB

P: n/a
how can i convert this

public NumPointsPropertyDescriptor(PointsPropertyTab owner) :
base("NumPoints", new Attribute[]{CategoryAttribute.Data,
RefreshPropertiesAttribute.All})
{
this.owner = owner;
}

to VB.NET

thks
JSB
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a

"Joăo Santa Bárbara" <jo****@i24portugal.com> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
how can i convert this

public NumPointsPropertyDescriptor(PointsPropertyTab owner) :
base("NumPoints", new Attribute[]{CategoryAttribute.Data,
RefreshPropertiesAttribute.All})
{
this.owner = owner;
}

to VB.NET


The is a call to a superclass constructor. In VB use MyBase.New

public sub new(owner as PointsPropertyTab)
MyBase.New("NumPoints", new Attribute()
{CategoryAttribute.Data,RefreshPropertiesAttribure .All})
me.owner = owner
end sub
David
Nov 21 '05 #2

P: n/a
* "Joăo Santa Bárbara" <jo****@i24portugal.com> scripsit:
public NumPointsPropertyDescriptor(PointsPropertyTab owner) :
base("NumPoints", new Attribute[]{CategoryAttribute.Data,
RefreshPropertiesAttribute.All})
{
this.owner = owner;
}

to VB.NET


In addition to the other reply, take a look at the converters available
for converting C# code to VB.NET:

C# -> VB.NET Converters:

<URL:http://www.aspalliance.com/aldotnet/examples/translate.aspx>
<URL:http://www.kamalpatel.net/ConvertCSharp2VB.aspx>
<URL:http://csharpconverter.claritycon.com/>
<URL:http://www.ragingsmurf.com/vbcsharpconverter.aspx>
<URL:http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=c622348b-18a9-47d6-8687-979975d5957d>

<URL:http://www.remotesoft.com/>
-> "Octopus"

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.