This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IF > IFileNames Interface > IFileNames.Add Method (ArcObjects .NET 10.4 SDK) |
Adds a filename to the array.
[Visual Basic .NET] Public Sub Add ( _ ByVal FileName As String _ )
[C#] public void Add ( string FileName );
[C++]
HRESULT Add(
BSTR FileName
);
[C++]
Parameters FileName [in] FileName is a parameter of type BSTR
The Add method adds the specified file name to the end of the array as a full path string. The path can refer to a directory or a file. Use the IsDirectory method to determine with the path specifies a directory or file.