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
- key
Type: System.String
- topic
Type: Microsoft.AspNet.SignalR.Messaging.Topic%
Return Value
Type: System.Boolean