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
[C#]
public string Name {get; set;}
[C++]
HRESULT get_Name(
  BSTR Name
);
[C++]
HRESULT put_Name(
  System.String* Name
);
[C++]
Parameters
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.

Remarks

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