'UsageDim instance As EasyUASpecializedClient Dim trait As Object Dim value As Boolean value = instance.HasTrait(trait)
Parameters
- trait
The value of this parameter cannot be
null(Nothingin Visual Basic).
The value of this parameter cannot be null (Nothing in Visual Basic).
'UsageDim instance As EasyUASpecializedClient Dim trait As Object Dim value As Boolean value = instance.HasTrait(trait)
The value of this parameter cannot be null (Nothing in Visual Basic).
| Exception | Description |
|---|---|
| System.ArgumentNullException |
A This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception. |