Synclock a Property?

Spilled

Member
Joined
Nov 28, 2008
Messages
17
Location
USA
Programming Experience
Beginner
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! :D
 
Back
Top