This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ESRI.ArcGIS.Snippets > Snippets > Statements - Interrogate Object Snippet (ArcObjects .NET 10.4 SDK) |
Generic template for determining what type of object you are working with.
//<-- Snippet Start --> // DESCRIPTION: // Generic template for determining what type of object you are working with. if (objectexpression is typename) { } //<-- Snippet End -->
'<-- Snippet Start --> ' DESCRIPTION: ' Generic template for determining what type of object you are working with. If TypeOf objectexpression Is typename Then End If '<-- Snippet End -->