MultiPartWriter.NewUrl(String) Method
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.
Generates a unique URL. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
public:
virtual System::String ^ NewUrl(System::String ^ filetype);
public virtual string NewUrl (string filetype);
abstract member NewUrl : string -> string
override this.NewUrl : string -> string
Public Overridable Function NewUrl (filetype As String) As String
Parameters
- filetype
- String
Contains the file name extension for the new URL.
Returns
A unique URL based on a globally unique ID (GUID).
Remarks
This method creates a unique URL by generating a GUID, converting it to a string, and appending the file name extension contained in the filetype
parameter.