DataSourceCacheDurationConverter.ConvertFrom 메서드

정의

지정된 개체를 개체로 Int32 변환합니다.

public:
 override System::Object ^ ConvertFrom(System::ComponentModel::ITypeDescriptorContext ^ context, System::Globalization::CultureInfo ^ culture, System::Object ^ value);
public override object ConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value);
override this.ConvertFrom : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj -> obj
Public Overrides Function ConvertFrom (context As ITypeDescriptorContext, culture As CultureInfo, value As Object) As Object

매개 변수

context
ITypeDescriptorContext

ITypeDescriptorContext 형식 컨텍스트를 제공하는 항목입니다.

culture
CultureInfo

숫자를 나타낼 문화권을 지정하는 A CultureInfo 입니다.

value
Object

변환할 개체입니다.

반품

변환된 값을 나타내는 개체입니다. null 값 매개 변수 null 에 전달되면 반환됩니다.

설명

이 메서드는 DataSourceCacheDurationConverter.ConvertFrom 문자열 또는 문자열 "Infinite"를 값 0으로 변환 String.Empty 합니다. 다른 값은 기본 클래스 Int32Converter에 의해 처리됩니다.

적용 대상