IsKnownScheme Method
Collapse the table of content
Expand the table of content

UriParser::IsKnownScheme Method (String^)

 

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:
© 2016 Microsoft