View Single Post
  #1 (permalink)  
Old 12-02-2008, 6:06 PM
Spilled Spilled is offline
VB.NET Forum Newbie
.NET Framework: .NET 2.0 (VS 2005)
 
Join Date: Nov 2008
Location: USA
Age: 22
Posts: 14
Reputation: 18
Spilled is on a distinguished programming path ahead
Default Synclock a Property?

Is it possible to synclock a public read only property on the form1 class that is called by multiple threads from a seperate class?

Like say i have this on my form1:

Public ReadOnly Property GetTheValue() As String
Get
'how would i synclock the code block here?
End Get
End Property

Thanks in advance!
Reply With Quote