ArcObjects Library Reference (System)  

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,
  IFileNames** ppFileNames
);
[C++]

Parameters

extSet [in]   extSet is a parameter of type BSTR ppFileNames [out, retval]

  ppFileNames is a parameter of type IFileNames

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