This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IF > IFileNames2 Interface > IFileNames2.GetSubset Method (ArcObjects .NET 10.4 SDK) |
Obtains a subset based on a delimited set of extensions.
[Visual Basic .NET] Public Function GetSubset ( _ ByVal extSet As String _ ) As IFileNames
[C#] public IFileNames GetSubset ( string extSet );
[C++]
HRESULT GetSubset(
BSTR extSet,
IFileNames** ppFileNames
);
[C++]
Parameters extSet [in] extSet is a parameter of type BSTR ppFileNames [out, retval]
ppFileNames is a parameter of type IFileNames
The GetSubset method returns a FileNames object consisting of a subset of the file names in the array that have the specified extension.