FtpWebRequest.RenameTo Property
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.
Gets or sets the new name of a file being renamed.
public:
property System::String ^ RenameTo { System::String ^ get(); void set(System::String ^ value); };
public string? RenameTo { get; set; }
public string RenameTo { get; set; }
member this.RenameTo : string with get, set
Public Property RenameTo As String
Property Value
The new name of the file being renamed.
Exceptions
The value specified for a set operation is null
or an empty string.
A new value was specified for this property for a request that is already in progress.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.