Redigera

Dela via


UriParser.IsKnownScheme(String) Method

Definition

Indicates whether the parser for a scheme is registered.

public:
 static bool IsKnownScheme(System::String ^ schemeName);
public static bool IsKnownScheme (string schemeName);
static member IsKnownScheme : string -> bool
Public Shared Function IsKnownScheme (schemeName As String) As Boolean

Parameters

schemeName
String

The scheme name to check.

Returns

true if schemeName has been registered; otherwise, false.

Exceptions

The schemeName parameter is null.

The schemeName parameter is not valid.

Applies to