IHubProxy.Item Property
.NET Framework 4.5
Gets or sets state on the hub.
Namespace: Microsoft.AspNet.SignalR.Client
Assembly: Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)
Syntax
'Declaration
Default Property Item ( _
name As String _
) As JToken
Get
Set
'Usage
Dim instance As IHubProxy
Dim name As String
Dim value As JToken
value = instance(name)
instance(name) = value
JToken this[
string name
] { get; set; }
property JToken^ default[String^ name] {
JToken^ get (String^ name);
void set (String^ name, JToken^ value);
}
abstract Item : JToken with get, set
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- name
Type: System.String
Property Value
Type: JToken
The value of the field