Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Ok sorry couldnt be more specific but I am not sure how to explain this within just one subject line.

 

OK here it is...

 

I need to know where to place this

 

Public Overridable Property InnerXml() As String

 

I found some code that does exactly what I need in adding an Element on all its children at one time to an existing xml file but all of the code resides within a button click event except the above mentioned code....

 

They never said where to put it....

Does it go in a module or something cause I have tried just bleow Imports Sytem.xml and that didnt work then just below

Public CLase Form1

 

That didnt work either.....

 

So where does it go?

 

vbMarkO

Visual Basic 2008 Express Edition!
Posted

That's a property declaration and goes between Class..End Class. It works similarly to a method (Sub, Function). If that's all you have then you're missing some code and that could be why you're getting the error. Try

Public Overridable Property InnerXml() As String
  Get
  End Get
  Set (Value as String)
  End Set
End Property

 

Though what's supposed to go in there is any body's guess...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...