This topic has not yet been rated - Rate this topic

SPFileExtensionsCollection class

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

System.Object
  System.Collections.ObjectModel.Collection<String>
    Microsoft.SharePoint.Utilities.SPFileExtensionsCollection

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration
Public NotInheritable Class SPFileExtensionsCollection _
	Inherits Collection(Of String)
'Usage
Dim instance As SPFileExtensionsCollection

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.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.