The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
VirtualizationCacheLengthConverter::ConvertFrom Method (ITypeDescriptorContext^, CultureInfo^, Object^)
.NET Framework (current version)
Converts the specified object to a VirtualizationCacheLength.
Assembly: PresentationFramework (in PresentationFramework.dll)
public: virtual Object^ ConvertFrom( ITypeDescriptorContext^ typeDescriptorContext, CultureInfo^ cultureInfo, Object^ source ) override
Parameters
- typeDescriptorContext
-
Type:
System.ComponentModel::ITypeDescriptorContext^
An object that provides a format context.
- cultureInfo
-
Type:
System.Globalization::CultureInfo^
An object that provides the culture information that is used during conversion.
- source
-
Type:
System::Object^
The object to convert to a VirtualizationCacheLength.
| Exception | Condition |
|---|---|
| NotSupportedException |
The VirtualizationCacheLengthConverter can convert the following types to a VirtualizationCacheLength:
Call the CanConvertFrom method before calling the ConvertFrom to avoid throwing an exception.
.NET Framework
Available since 4.5
Available since 4.5
Show: