UriParser.IsKnownScheme Method (String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Indicates whether the parser for a scheme is registered.

Namespace:   System
Assembly:  System (in System.dll)

public static bool IsKnownScheme(
	string schemeName
)

Parameters

schemeName
Type: System.String

The scheme name to check.

Return Value

Type: System.Boolean

true if schemeName has been registered; otherwise, false.

Exception Condition
ArgumentNullException

The schemeName parameter is null.

ArgumentOutOfRangeException

The schemeName parameter is not valid.

.NET Framework
Available since 2.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: