Char.IsUpper メソッド

定義

Unicode 文字が大文字として分類されているかどうかを示します。

オーバーロード

名前 説明
IsUpper(Char)

指定した Unicode 文字が大文字として分類されているかどうかを示します。

IsUpper(String, Int32)

指定した文字列内の指定した位置にある文字が大文字として分類されるかどうかを示します。

IsUpper(Char)

ソース:
Char.cs
ソース:
Char.cs
ソース:
Char.cs
ソース:
Char.cs
ソース:
Char.cs

指定した Unicode 文字が大文字として分類されているかどうかを示します。

public:
 static bool IsUpper(char c);
public static bool IsUpper(char c);
static member IsUpper : char -> bool
Public Shared Function IsUpper (c As Char) As Boolean

パラメーター

c
Char

評価する Unicode 文字。

返品

true cが大文字の場合は a0/>。それ以外の場合はfalse

注釈

有効な大文字は、 UnicodeCategory: UppercaseLetterのカテゴリのメンバーです。

こちらもご覧ください

適用対象

IsUpper(String, Int32)

ソース:
Char.cs
ソース:
Char.cs
ソース:
Char.cs
ソース:
Char.cs
ソース:
Char.cs

指定した文字列内の指定した位置にある文字が大文字として分類されるかどうかを示します。

public:
 static bool IsUpper(System::String ^ s, int index);
public static bool IsUpper(string s, int index);
static member IsUpper : string * int -> bool
Public Shared Function IsUpper (s As String, index As Integer) As Boolean

パラメーター

s
String

文字列。

index
Int32

sで評価する文字の位置。

返品

true indexの位置s文字が大文字の場合はfalse

例外

snullです。

index が 0 より小さいか、 sの最後の位置より大きい値です。

注釈

文字列内の文字位置は、0 から始まるインデックスが作成されます。

有効な大文字は、 UnicodeCategory: UppercaseLetterのカテゴリのメンバーです。

こちらもご覧ください

適用対象