This document is archived and information here might be outdated.  Recommended version.


IGxCatalog.GetObjectFromFullName Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Catalog)  

IGxCatalog.GetObjectFromFullName Method

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
);

Product Availability

Available with ArcGIS Desktop.

Remarks

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.

See Also

IGxCatalog Interface