Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
IdnElement Class

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.Net Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
IdnElement Class

Provides the configuration setting for International Domain Name (IDN) processing in the System..::.Uri class.

Namespace:  System.Configuration
Assembly:  System (in System.dll)
Visual Basic (Declaration)
Public NotInheritable Class IdnElement _
    Inherits ConfigurationElement
Visual Basic (Usage)
Dim instance As IdnElement
C#
public sealed class IdnElement : ConfigurationElement
Visual C++
public ref class IdnElement sealed : public ConfigurationElement
JScript
public final class IdnElement extends ConfigurationElement

The existing System..::.Uri class has been extended to provide support for International Resource Identifiers (IRI) based on RFC 3987. Current users will not see any change from the .NET Framework 2.0 behavior unless they specifically enable IRI. This ensures application compatibility with prior versions of the .NET Framework.

The configuration setting for the IdnElement is indirectly controlled by the IriParsingElement configuration setting that controls IRI processing in the System..::.Uri class. IRI processing must be enabled for IDN processing to be possible. If IRI processing is disabled, then IDN processing will be set to the default setting where the .NET Framework 2.0 behavior is used for compatibility and IDN names are not used.

The Internationalized Domain Name (IDN) attribute only controls IDN processing. All other IRI processing (character normalization, for example) is performed by default.

The configuration setting for the IdnElement will be read once when the first System..::.Uri class is constructed. Changes to configuration settings after that time are ignored.

For more information on IRI support, see the Remarks section for the System..::.Uri class.

System..::.Object
  System.Configuration..::.ConfigurationElement
    System.Configuration..::.IdnElement
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5 SP1, 3.0 SP1, 2.0 SP1
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker