SmiTypeExtensionsVerify Method |
Verifies the input data against the syntax.
Namespace:
Lextm.SharpSnmpPro.Mib
Assembly:
SharpSnmpPro.Mib (in SharpSnmpPro.Mib.dll) Version: 2.1.2
Syntaxpublic static bool Verify(
this ISmiType type,
ISnmpData data
)
<ExtensionAttribute>
Public Shared Function Verify (
type As ISmiType,
data As ISnmpData
) As Boolean
public:
[ExtensionAttribute]
static bool Verify(
ISmiType^ type,
ISnmpData^ data
)
[<ExtensionAttribute>]
static member Verify :
type : ISmiType *
data : ISnmpData -> bool
Parameters
- type
- Type: Lextm.SharpSnmpPro.MibISmiType
Syntax type. - data
- Type: Lextm.SharpSnmpLibISnmpData
Input data.
Return Value
Type:
Boolean if the data matches the syntax. Otherwise,
.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ISmiType. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also