編輯

共用方式為


DiscoveryReference.FilenameFromUrl(String) Method

Definition

Returns a file name based on the passed URL.

protected:
 static System::String ^ FilenameFromUrl(System::String ^ url);
public:
 static System::String ^ FilenameFromUrl(System::String ^ url);
protected static string FilenameFromUrl (string url);
public static string FilenameFromUrl (string url);
static member FilenameFromUrl : string -> string
Protected Shared Function FilenameFromUrl (url As String) As String
Public Shared Function FilenameFromUrl (url As String) As String

Parameters

url
String

The URL on which the name of the file is based.

Returns

Name of the file based on the passed URL.

Applies to