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


IFileNames2.GetSubset Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IF > IFileNames2 Interface > IFileNames2.GetSubset Method
ArcGIS Developer Help

IFileNames2.GetSubset Method

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
);
[C++]
Parameters
extSet [in]

extSet is a parameter of type BSTR

Product Availability

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

Description

The GetSubset method returns a FileNames object consisting of a subset of the file names in the array that have the specified extension.

See Also

IFileNames2 Interface