UriParser.IsKnownScheme(String) UriParser.IsKnownScheme(String) UriParser.IsKnownScheme(String) UriParser.IsKnownScheme(String) Method

定义

指示某个方案的分析器是否已注册。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

参数

schemeName
String String String String

要检查的方案名称。The scheme name to check.

返回

如果已注册 schemeName,则为 true;否则为 falsetrue if schemeName has been registered; otherwise, false.

异常

schemeName 参数为 null。The schemeName parameter is null.

适用于