一致させるパターンが、大文字小文字を区別しないかどうかを示す値を取得または設定します。
Public Property IgnoreCase As Boolean
[C#]
public bool IgnoreCase {get; set;}
[C++]
public: __property bool get_IgnoreCase();public: __property void set_IgnoreCase(bool);
[JScript]
public function get IgnoreCase() : Boolean;public function set IgnoreCase(Boolean);
プロパティ値
一致で大文字小文字を区別しない場合は true 。それ以外の場合は false 。既定値は false です。
使用例
[C#]
[C++]
public __gc class Example_Headers {
public:
[MatchAttribute(S"TITLE>(.?)<")]
String* Title;
[MatchAttribute(S"", Pattern=S"h1>(.?)<", IgnoreCase=true)]
String* H1;
[MatchAttribute(S"H2>(((->Item[^<, ]*), ?)+)<", Group=3, Capture=4)]
String* Element;
[MatchAttribute(S"H2>(((->Item[^<, ]*), ?) {2, })<", Group=3, MaxRepeats=0)]
String* Elements1[];
[MatchAttribute(S"H2>(((->Item[^<, ]*), ?) {2, })<", Group=3, MaxRepeats=1)]
String* Elements2[];
[MatchAttribute(S"H3 (->Item[^=]*)=(->Item[^>]*)", Group=1)]
String* Attribute;
[MatchAttribute(S"H3 (->Item[^=]*)=(->Item[^>]*)", Group=2)]
String* Value;
};
[JScript] JScript のサンプルはありません。Visual Basic、C#、および C++ のサンプルを表示するには、このページの左上隅にある言語のフィルタ ボタン をクリックします。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
MatchAttribute クラス | MatchAttribute メンバ | System.Web.Services.Protocols 名前空間