954,551 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How is this wrong?

Okay,

I've read the documentation about Class INitializers, but they don't work for me.

Public class FGBGColors 
  'Inconsequential class
end Class

Public Class ColorTableClass

	Private m_HdrClrs = New FGBGColors With { _   ' <- End of Statement Expected
		.ForeColor = Color.Black, _
		.BackColor = Color.Gray, _
	}

end class


NOw this is done identical to MSDN.com but that's site is such BS because this has never worked.

Jaeden "Sifo Dyas" al'Raec Ruiner

JaedenRuiner
Newbie Poster
17 posts since Aug 2007
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You