共用方式為


CustomFieldsCheckOutPreEventArgs.CancelEvent Method

Cancels the check out of a custom field.

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

Syntax

'Declaration
Public Sub CancelEvent ( _
    reason As String _
)
'Usage
Dim instance As CustomFieldsCheckOutPreEventArgs
Dim reason As String

instance.CancelEvent(reason)
public void CancelEvent(
    string reason
)

Parameters

  • reason
    Type: System.String
    The text that explains why check out of a custom field is to be canceled.

Implements

IPreEventArgs.CancelEvent(String)

See Also

Reference

CustomFieldsCheckOutPreEventArgs Class

CustomFieldsCheckOutPreEventArgs Members

Microsoft.Office.Project.Server.Events Namespace