This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Catalog > ESRI.ArcGIS.Catalog > Interfaces > IG > IGxCatalog Interface > IGxCatalog.GetObjectFromFullName Method (ArcObjects .NET 10.4 SDK) |
Finds an object in the catalog tree given its full name. Returns a Variant containing an IGxObject or IEnumGxObject (if duplicate names were encountered), along with the number of objects found.
[Visual Basic .NET] Public Function GetObjectFromFullName ( _ ByVal FullName As String, _ ByRef numFound As Integer _ ) As Object
[C#] public object GetObjectFromFullName ( string FullName, ref int numFound );
An example of duplicate names (numFound > 1) is a CAD drawing. ArcCatalog represents a CAD drawing as two GxObjects - as a CAD drawing and as a CAD dataset.