Method Contains
- Assembly
- Skyline.DataMiner.Utils.SNMP.Traps.Protocol.dll
Contains(string)
Determines whether the collection contains a trap variable binding with the specified OID.
public bool Contains(string oid)
Parameters
oid
stringThe OID of the trap variable binding to locate.
Returns
- bool
true
if the collection contains a trap variable binding with the specified OID; otherwise,false
.
Examples
bool containsTheBinding = trapBindingCollection.Contains("1.1.1");
Exceptions
- ArgumentNullException
oid
is null.