Simple Question ! how to invoke the parameterized scalar properties(written by vb.net) in Csharp pro

P

Preston

hello all...
My friend using vb.net made a DLL file which contains a Property Kkk(ByVal
key As Object) in it, I use CSharp and reference this DLL file, but in
csharp object browser, there is no Kkk property, cause csharp doesn't
support parameterized scalar properties??

Then how can I use the Kkk property??

(I only know that if Csharp use Indexer, VB.net use Item as the property
name.)
 
G

Guest

As you guessed, C# does not support parameterized scalar properties.
You might have to change the property to a method in VB.Net if it has to use
parameters.

Regards
Shane Sukul
BSC MCSD MCAD
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top