PixelFormatConverter.ConvertFromString Method (String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Attempts to convert a string to a PixelFormat.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

member ConvertFromString : 
        value:string -> Object

Parameters

value
Type: System.String

The string to convert to a PixelFormat.

Return Value

Type: System.Object

A new instance of PixelFormat.

Exception Condition
ArgumentNullException

value is null.

ArgumentException

value could not be converted to a known PixelFormat.

.NET Framework
Available since 3.0
Return to top
Show: