Tutorials
Resources
Forum
Reviews
Communities
Interview
Jobs
Projects
Training
Your
Ad
Here
Silverlight Games
|
Mentor
|
Code Converter
|
Articles
|
Code Factory
|
Computer Jokes
|
Members
|
Peer Appraisal
|
IT Companies
|
Bookmarks
|
Polls
|
Revenue Sharing
|
Lobby
|
Gift Shop
|
Prizes & Awards
My Profile
Sign In
Register
AdSense Revenue
Active Members
Today
Nikhil Gaur
(70)
Nadheera V
(30)
samsuddin
(24)
Last 7 Days
Nikhil Gaur
(621)
Anil Kumar ...
(582)
Abhisek Panda
(445)
more...
Resources
»
Errors and Solutions
»
General
»
GET AND SET in VB .NET
Posted Date: 26 Sep 2008
Resource Type:
Errors and Solutions
Category:
General
Author:
mb
Member Level:
Bronze
Rating:
Points
: 5
While using Property function.
1)Property without a 'ReadOnly' or 'WriteOnly' specifier must provide both a 'Get' and a 'Set'.
2)'End' statement not valid.
3)Statement cannot appear within a method body. End of method assumed.
if the above err comes the fault in initial of Get
Like: GetGet or GetSome text
so assign like:
Dim mName As String
Public Property Name() As String
Get
Return mName
End Get
Set(ByVal value As String)
mName = value
End Set
End Property
Attachments
GET AND SET
(21491-261036-demo.txt)
GET AND SET
(21491-261038-demo.txt)
Responses
No responses found. Be the first to respond and make money from
revenue sharing program
.
Feedbacks
Popular Tags
What are tags ?
Search Tags
Sign In
to add tags.
Get and Set
.
Post Feedback
This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must
Sign In
to post a response.
Next Resource:
Type Casting Problem in C#
Previous Resource:
Cannot Implicitly Convert Type ‘x’ Into ‘y’ Error in C#
Return to Discussion Resource Index
Post New Resource
Category:
General
Post resources and
earn money
!
Related Resources
Type Casting Problem in C#
Packages
Error in Trigger Generation in Oracle
NT AUTHORITY-NETWORK SERVICE does not have write access.
Crystal Report DB Login(VB.Net)
How to avoid Multiple selection not allowed in DropDownList problem
dotNet Slackers
About Us
Contact Us
Privacy Policy
Terms Of Use