Salve a tutti.
Nella dichiarazione di una Property in una Interface, come faccio a fare in modo che il valore
passato nella set sia "byref"?
Ovvero
Da questa dichiarazione nell'interfaccia:
Property Server() As Web.IServer
ho questo nell'implementazione
Public Property Server() As Web.IServer Implements Web.IForm.Server
Get
Return mServer
End Get
Set(ByVal value As Web.IServer)
mServer = value
End Set
End Property
ma se volessi avere questo?
Public Property Server() As Web.IServer Implements Web.IForm.Server
Get
Return mServer
End Get
Set(ByRef value As Web.IServer)
mServer = value
End Set
End Property
Grazie mille dell'aiuto
Ok risolto tutto...(anche perchè il set non può essere byref...)

Rispondi quotando