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
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.