VintaSoft Twain .NET SDK 15.4: Руководство для .NET разработчика
Vintasoft.Imaging.TypeConverters Namespace / ResolutionConverter Class / ConvertFrom Methods / ConvertFrom(ITypeDescriptorContext,CultureInfo,Object) Method
Синтаксис Требования Смотрите также
В этом разделе
ConvertFrom(ITypeDescriptorContext,CultureInfo,Object) Метод (ResolutionConverter)
В этом разделе
Converts the specified object to a Resolution object.
Синтаксис
'Declaration

Public Overloads Overrides Function ConvertFrom( _
ByVal context
A formatter context. This object can be used to get additional information about the environment this converter is being called from. This may be null, so you should always check. Also, properties on the context object may also return null.
As System.ComponentModel.ITypeDescriptorContext, _
ByVal culture
An object that contains culture specific information, such as the language, calendar, and cultural conventions associated with a specific culture. It is based on the RFC 1766 standard.
As System.Globalization.CultureInfo, _
ByVal value
The object to convert.
As Object _
) As Object

Parameters

context
A formatter context. This object can be used to get additional information about the environment this converter is being called from. This may be null, so you should always check. Also, properties on the context object may also return null.
culture
An object that contains culture specific information, such as the language, calendar, and cultural conventions associated with a specific culture. It is based on the RFC 1766 standard.
value
The object to convert.

Return Value

The converted object.
Требования

Целевые платформы: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

Смотрите также