I noticed in the code base I have to read that sometimes property definition includes an empty (). What’s the meaning of that? And it has nothing to do with arrays.
For example :
Public Property TotalPages() As Integer
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
I know it seems strange (well to us C#’ers) but properties can have parameters in VB.NET.
So you can have
So your declaration of
Is a straightforward non-indexed property, e.g. with no parameters.