Share via


TopicLookup.TryGetValue Method

.NET Framework 4

Namespace:  Microsoft.AspNet.SignalR.Messaging
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

Syntax

'Declaration
Public Function TryGetValue ( _
    key As String, _
    <OutAttribute> ByRef topic As Topic _
) As Boolean
'Usage
Dim instance As TopicLookup 
Dim key As String 
Dim topic As Topic 
Dim returnValue As Boolean 

returnValue = instance.TryGetValue(key, _
    topic)
public bool TryGetValue(
    string key,
    out Topic topic
)
public:
bool TryGetValue(
    String^ key, 
    [OutAttribute] Topic^% topic
)
member TryGetValue : 
        key:string * 
        topic:Topic byref -> bool
public function TryGetValue(
    key : String, 
    topic : Topic
) : boolean

Parameters

Return Value

Type: System.Boolean

See Also

Reference

TopicLookup Class

Microsoft.AspNet.SignalR.Messaging Namespace