Modifier

Partager via


Path.ChangeExtension(String, String) Method

Definition

public:
 static System::String ^ ChangeExtension(System::String ^ path, System::String ^ extension);
public static string? ChangeExtension (string? path, string? extension);
static member ChangeExtension : string * string -> string
Public Shared Function ChangeExtension (path As String, extension As String) As String

Parameters

path
String
extension
String

Returns

Applies to