Compartilhar via


SPFile.Generator Property

Gets the name of the application that created the .htm or .aspx file.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property Generator As String
    Get
'Usage
Dim instance As SPFile
Dim value As String

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

Property Value

Type: System.String
A string that contains the name of the application.

See Also

Reference

SPFile Class

SPFile Members

Microsoft.SharePoint Namespace