Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SPFileExtensionsCollection class
Collapse the table of content
Expand the table of content

SPFileExtensionsCollection class

A collection for storing file extensions (aspx, ascx etc.).


Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public sealed class SPFileExtensionsCollection : Collection<string>

The file extensions stored in this collection are in normalized form. The start "." is trimmed. This collection is thread-safe for the scenario that multiple writers add/remove items and readers only access the collection via ContainsExtension in the mean time.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft