共用方式為


ResourceCheckOutPreEventArgs.CancelReason Property

Reads or writes the text that explains why check out of the resource is to be canceled.

Namespace:  Microsoft.Office.Project.Server.Events
Assembly:  Microsoft.Office.Project.Server.Events.Receivers (in Microsoft.Office.Project.Server.Events.Receivers.dll)

Syntax

'Declaration
Public Property CancelReason As String
    Get
    Set
'Usage
Dim instance As ResourceCheckOutPreEventArgs
Dim value As String

value = instance.CancelReason

instance.CancelReason = value
public string CancelReason { get; set; }

Property Value

Type: System.String

Implements

IPreEventArgs.CancelReason

See Also

Reference

ResourceCheckOutPreEventArgs Class

ResourceCheckOutPreEventArgs Members

Microsoft.Office.Project.Server.Events Namespace