PowerSNMP for .NET
TryGetValue Method (MibNodes)




MibNode name or OID.
If the key is found, populated with the MibNode associated with the specified key when the method returns; otherwise, null.
Attempts to retrieve a MibNode that matches the provided name or OID key. Locks on SyncRoot to provide automatic thread safety.
Syntax
Public Function TryGetValue( _
   ByVal key As String, _
   ByRef value As MibNode _
) As Boolean
Dim instance As MibNodes
Dim key As String
Dim value As MibNode
Dim value As Boolean
 
value = instance.TryGetValue(key, value)
public bool TryGetValue( 
   string key,
   out MibNode value
)
public: bool TryGetValue( 
   string* key,
   [PARAMFLAG::Out] MibNode* value
) 
public:
bool TryGetValue( 
   String^ key,
   [Out] MibNode^ value
) 

Parameters

key
MibNode name or OID.
value
If the key is found, populated with the MibNode associated with the specified key when the method returns; otherwise, null.

Return Value

Returns true if a MibNode matching the key is found, false otherwise.
See Also

Reference

MibNodes Class
MibNodes Members


PowerSNMP for .NET Documentation Version 8.0
© 2024 Dart Communications. All Rights Reserved.
Send comments on this topic