FilterFileTypes Object
On this page:
Description
This collection is accessed via the Preferences Object. It corresponds to the information configured on the File Types options page. Each entry on that page corresponds to a FilterFileType Object member of this collection. Each such member determines the type of comparison and optional filter program to be used to compare files with names matching a specific pattern.
Properties
Count read-only, IFilterFileTypes
The number of items in the collection.
IDL |
[propget] HRESULT Count([out, retval] long* pValue)
|
---|---|
.NET | Int32 Count[get] |
Item read-only, IFilterFileTypes
Returns the item (not a copy) at the given index.
IDL |
[propget] HRESULT Item(
|
---|---|
.NET | FilterFileType
get_Item( |
index
A zero-based integer index into the collection.
Methods
Add IFilterFileTypes
Adds a copy of the item fileType
to the end of the collection. Returns the index of the added item.
IDL |
HRESULT Add(
|
---|---|
.NET | Int32 Add( |
fileType
The item to be copied and added to the collection.
AddAtIndex IFilterFileTypes
Inserts a copy of the fileType
item at the specified index. The number of items in the collection is increased by one.
IDL |
HRESULT AddAtIndex(
|
---|---|
.NET | void AddAtIndex( |
fileType
The item to be copied and added to the collection.index
The index at which to insert the copy of the item.
Remove IFilterFileTypes
Removes the item at the specified index.
IDL |
HRESULT Remove(
|
---|---|
.NET | void Remove( |
index
The index of the item to remove.
RemoveAll IFilterFileTypes
Removes all items from the collection.
IDL |
HRESULT RemoveAll()
|
---|---|
.NET | void RemoveAll() |