言語

IdnElement.Enabled プロパティ

定義

IdnElement構成設定の値を取得または設定します。

public:
 property UriIdnScope Enabled { UriIdnScope get(); void set(UriIdnScope value); };
[System.Configuration.ConfigurationProperty("enabled", DefaultValue=System.UriIdnScope.None)]
public UriIdnScope Enabled { get; set; }
public UriIdnScope Enabled { get; set; }
[<System.Configuration.ConfigurationProperty("enabled", DefaultValue=System.UriIdnScope.None)>]
member this.Enabled : UriIdnScope with get, set
member this.Enabled : UriIdnScope with get, set
Public Property Enabled As UriIdnScope

プロパティ値

IDN 処理の現在の構成設定を含む UriIdnScope

属性

注釈

International Domain Name (IDN) 属性は IDN 処理のみを制御します。 他のすべての国際リソース識別子 (IRI) 処理 (文字の正規化など) は、既定で実行されます。

IdnElementの構成設定は、System.Configuration.IriParsingElement クラスの IRI 処理を制御するSystem.Uri構成設定によって間接的に制御されます。 IDN 処理を可能にするには、IRI 処理を有効にする必要があります。 IRI 処理が無効になっている場合、IDN 処理は既定の設定に設定され、.NET Framework 2.0 の動作は互換性のために使用され、IDN 名は使用されません。

IdnElementの構成設定は、最初のSystem.Uri クラスが構築されるときに 1 回読み取られます。 その後の構成設定の変更は無視されます。

IRI サポートの詳細については、 System.Uri クラスの「解説」セクションを参照してください。

適用対象

こちらもご覧ください