IDebugType.HasInstance(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When implemented in a class, determines whether the specified object is an instance of the current type.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
bool HasInstance(System::Object ^ o);
public bool HasInstance (object o);
abstract member HasInstance : obj -> bool
Public Function HasInstance (o As Object) As Boolean
Parameters
- o
- Object
The object to test.
Returns
true
if o
is an instance of the current type; otherwise, false
.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.