Share via


HubProxy.Item Property

.NET Framework 4

Namespace:  Microsoft.AspNet.SignalR.Client.Hubs
Assembly:  Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)

Syntax

'Declaration
Public Default Property Item ( _
    name As String _
) As JToken 
    Get 
    Set
'Usage
Dim instance As HubProxy 
Dim name As String 
Dim value As JToken 

value = instance(name)

instance(name) = value
public JToken this[
    string name
] { get; set; }
public:
virtual property JToken^ default[String^ name] {
    JToken^ get (String^ name) sealed;
    void set (String^ name, JToken^ value) sealed;
}
abstract Item : JToken with get, set 
override Item : JToken with get, set
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: JToken
Returns JToken.

Implements

IHubProxy.Item[String]

See Also

Reference

HubProxy Class

Microsoft.AspNet.SignalR.Client.Hubs Namespace