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

IAttachment.Name Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IA > IAttachment Interface > IAttachment.Name Property
ArcGIS Developer Help

IAttachment.Name Property

Name of the attachment.

[Visual Basic .NET]
Public Property Name As String
public string Name {get; set;}
HRESULT get_Name(
  BSTR Name
HRESULT put_Name(
  System.String* Name
Name [in]

Name is a parameter of type BSTR Name [out, retval]
Name is a parameter of type BSTR*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


The name property should be identical to the name of the attached file. This means no special characters or spaces should be used.

See Also

IAttachment Interface