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


IAttachment.Name Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

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(
  BSTR Name
);
[C++]

Parameters Name [out, retval] Name is a parameter of type BSTR Name [in] 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