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
public object GetObjectFromFullName (
    string FullName,
    ref int numFound

Product Availability

Available with ArcGIS Desktop.


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