RenamedEventArgs(WatcherChangeTypes, String, String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the RenamedEventArgs class.
public:
RenamedEventArgs(System::IO::WatcherChangeTypes changeType, System::String ^ directory, System::String ^ name, System::String ^ oldName);
public RenamedEventArgs (System.IO.WatcherChangeTypes changeType, string directory, string? name, string? oldName);
public RenamedEventArgs (System.IO.WatcherChangeTypes changeType, string directory, string name, string oldName);
new System.IO.RenamedEventArgs : System.IO.WatcherChangeTypes * string * string * string -> System.IO.RenamedEventArgs
Public Sub New (changeType As WatcherChangeTypes, directory As String, name As String, oldName As String)
Parameters
- changeType
- WatcherChangeTypes
One of the WatcherChangeTypes values.
- directory
- String
The name of the affected file or directory.
- name
- String
The name of the affected file or directory.
- oldName
- String
The old name of the affected file or directory.
Applies to
See also
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.