共用方式為


SPFile.Level Property

Gets the level of publication for the file.

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

Syntax

'Declaration
<ClientCallableAttribute> _
Public ReadOnly Property Level As SPFileLevel
    Get
'Usage
Dim instance As SPFile
Dim value As SPFileLevel

value = instance.Level
[ClientCallableAttribute]
public SPFileLevel Level { get; }

Property Value

Type: Microsoft.SharePoint.SPFileLevel
An SPFileLevel value that indicates the level of publication.

See Also

Reference

SPFile Class

SPFile Members

Microsoft.SharePoint Namespace