共用方式為


SPFileCheckOutException.CheckedOutBy Property

Gets the user who has checked out the 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 CheckedOutBy As String
    Get
'Usage
Dim instance As SPFileCheckOutException
Dim value As String

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

Property Value

Type: System.String
The name of the user. The default is "(unknown user)".

See Also

Reference

SPFileCheckOutException Class

SPFileCheckOutException Members

Microsoft.SharePoint Namespace