This topic has not yet been rated - Rate this topic

NameReferenceConverter Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Provides type conversion to convert a string name into an object reference to the object with that name.

Namespace:  System.Xaml
Assembly:  System.Xaml (in System.Xaml.dll)
public class NameReferenceConverter : TypeConverter

This class provides a type converter wrapper around a service. The service performs the resolution of an object by name in XAML as part of the relevant reader and writer implementations and their context. Proper function of this converter requires that there be an underlying IXamlNameResolver service available.

This type converter implementation is atypical because it is not scoped to a discrete conversion output type. It can potentially return any object so long as that object could have a name assigned to it in XAML.

System.Object
  System.ComponentModel.TypeConverter
    System.Xaml.NameReferenceConverter
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, 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: 4
Did you find this helpful?
(1500 characters remaining)