Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ResXFileRef.Converter Class

Provides a type converter to convert data for a ResXFileRef to and from a string.

Namespace:  System.Resources
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
public class Converter : TypeConverter

A ResXFileRef.Converter provides the object the ResXFileRef refers to. For example, if the ResXFileRef is "xplogo.bmp;System.Drawing.Bitmap, System.Drawing", then calling the ConvertFrom method of the converter will return a Bitmap, not a ResXFileRef.

For more information about type converters, see the TypeConverter base class and How to: Implement a Type Converter.

NoteNote:

Typically, you do not directly create an instance of an ImageIndexConverter. Instead, call the GetConverter method of TypeDescriptor. For more information, see the examples in the TypeConverter base class.

System.Object
  System.ComponentModel.TypeConverter
    System.Resources.ResXFileRef.Converter

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 XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

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, 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2015 Microsoft