共用方式為


SPFileExtensionsCollection class

儲存檔案的副檔名 (aspx,ascx 等等) 的集合。

Inheritance hierarchy

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

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

Syntax

'宣告
Public NotInheritable Class SPFileExtensionsCollection _
    Inherits Collection(Of String)
'用途
Dim instance As SPFileExtensionsCollection
public sealed class SPFileExtensionsCollection : Collection<string>

備註

儲存在這個集合中的檔案副檔名會正規化表單中。開始 「。"修剪。這個集合是安全執行緒的案例,多個寫入器新增/移除項目和讀卡機只能存取透過標準時間的ContainsExtension集合。

Thread safety

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

請參閱

參照

SPFileExtensionsCollection members

Microsoft.SharePoint.Utilities namespace