共用方式為


SPFile.Generator property

取得建立.htm 或.aspx 檔案的應用程式名稱。

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

Syntax

'宣告
Public ReadOnly Property Generator As String
    Get
'用途
Dim instance As SPFile
Dim value As String

value = instance.Generator
public string Generator { get; }

Property value

Type: System.String
字串,包含應用程式的名稱。

請參閱

參照

SPFile class

SPFile members

Microsoft.SharePoint namespace