Microsoft Internet Security and Acceleration Server 2004 SDK

FPCContentTypeSet Collection

The FPCContentTypeSet collection holds a content type set that FPCAccessProperties objects can reference. The default content type sets include Audio, Executable, Images, Text, and Video. Each type set includes file types. For example, the Audio content type set includes the file types .aif, .aifc, .au, .m3u, .mid, and others. If you want to change the file types that are included in a type set, do so through its FPCContentTypeSet collection by using the Add and Remove methods. You can also create additional content type sets using the Add method of the FPCContentTypeSets collection.

The FPCContentTypeSet object is typically an element of an FPCContentTypeSets collection.

Click here to see the ISA Server object hierarchy.

Inheritance

This object inherits from the FPCPersist object, which contains methods and properties related to the persistent storage of an object's data. They include methods for exporting an object's data to and importing it from an XML document.

Methods

The FPCContentTypeSet collection defines the following methods.

Method Description
Add Adds a new file type or MIME content type to the content type set.
Item Retrieves the requested file type from the content type set.
Remove Removes the specified file type from the content type set.
RemoveAll Removes all of the file types from the content type set.

Properties

The FPCContentTypeSet collection has the following properties.

Property Description
_NewEnum Gets an enumerator object for the collection.
Count Gets the number of file types in the content type set.
Description Gets or sets the description of the content type set.
Name Gets or sets the name of the content type set.

Methods Inherited from FPCPersist

Name Description
CancelWaitForChanges Cancels the registration established by the WaitForChanges method (for use in C and C++ programming only).
CanImport Returns a Boolean value that indicates whether the collection's properties and elements can be imported from the specified XML document.
Export Writes the stored values of the collection's properties and elements to the specified XML document.
ExportToFile Writes the stored values of the collection's properties and elements to the specified XML file.
GetServiceRestartMask Retrieves a 32-bit bitmask of the FpcServices enumerated type that specifies which services need to be restarted for currently unsaved changes to take effect.
Import Copies the values of the collection's properties and elements from the specified XML document to persistent storage.
ImportFromFile Copies the values of the collection's properties and elements from the specified XML file to persistent storage.
LoadDocProperties Provides the XML document's properties so that you can know what information can be imported from the document.
Refresh Reads the values of the collection's properties and elements from persistent storage, overwriting any changes that have not been saved.
Save Writes the current values of the collection's properties and elements to persistent storage.
WaitForChanges Registers to wait for an event indicating that the contents of the object have changed (for use in C and C++ programming only).

Properties Inherited from FPCPersist

Name Description
PersistentName Gets the persistent name of the collection. The persistent name of an object is a name that is unique for the object at the respective level of the COM object hierarchy.
VendorParametersSets Gets an FPCVendorParametersSets collection that can hold sets of custom data for extending the collection.

Remarks

This collection implements the IFPCContentTypeSet interface.

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration Server 2004 Administration Library.

See Also

COM Objects