public static Resolution Parse(
string s,
IFormatProvider? provider
)
Public Shared Function Parse (
s As String,
provider As IFormatProvider
) As Resolution
public:
static Resolution Parse(
String^ s,
IFormatProvider^ provider
)
static member Parse :
s : string *
provider : IFormatProvider -> Resolution
Resolutions are represented as a string using the format "width,height". For example, "1920,1080" represents a resolution of 1920 by 1080 pixels.
FormatException | s is not in the correct format. |