SmiTypeExtensionsVerify Method |
Verifies the input data against the syntax.
Namespace: Lextm.SharpSnmpPro.MibAssembly: SharpSnmpPro.Mib (in SharpSnmpPro.Mib.dll) Version: 2.1.3+8c6e8963be682b1d7fd7055c260d7b3d449dbc11
Syntaxpublic static bool Verify(
this ISmiType type,
ISnmpData data
)
<ExtensionAttribute>
Public Shared Function Verify (
type As ISmiType,
data As ISnmpData
) As Boolean
Dim type As ISmiType
Dim data As ISnmpData
Dim returnValue As Boolean
returnValue = type.Verify(data)
public:
[ExtensionAttribute]
static bool Verify(
ISmiType^ type,
ISnmpData^ data
)
[<ExtensionAttribute>]
static member Verify :
type : ISmiType *
data : ISnmpData -> bool
Parameters
- type ISmiType
- Syntax type.
- data ISnmpData
- Input data.
Return Value
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