CanConvertFrom 메서드 (ITypeDescriptorContext, Type)
이 API는 .NET Framework 인프라를 지원하며 코드에서 직접 사용할 수 없습니다.
이 멤버는 TypeConverter. . :: . .CanConvertFrom(ITypeDescriptorContext, Type)을(를) 재정의합니다.
네임스페이스: Microsoft.ReportingServices.RdlObjectModel
어셈블리: Microsoft.ReportingServices.Designer.Controls.dll의 Microsoft.ReportingServices.Designer.Controls
구문
‘선언
Public Overrides Function CanConvertFrom ( _
context As ITypeDescriptorContext, _
sourceType As Type _
) As Boolean
‘사용 방법
Dim instance As ReportSizeConverter
Dim context As ITypeDescriptorContext
Dim sourceType As Type
Dim returnValue As Boolean
returnValue = instance.CanConvertFrom(context, _
sourceType)
public override bool CanConvertFrom(
ITypeDescriptorContext context,
Type sourceType
)
public:
virtual bool CanConvertFrom(
ITypeDescriptorContext^ context,
Type^ sourceType
) override
abstract CanConvertFrom :
context:ITypeDescriptorContext *
sourceType:Type -> bool
override CanConvertFrom :
context:ITypeDescriptorContext *
sourceType:Type -> bool
public override function CanConvertFrom(
context : ITypeDescriptorContext,
sourceType : Type
) : boolean
매개 변수
- sourceType
형식: System. . :: . .Type