SplitterLengthConverter.CanConvertTo Method (ITypeDescriptorContext, Type)
This member overrides TypeConverter.CanConvertTo(ITypeDescriptorContext, Type).
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Dichiarazione
Public Overrides Function CanConvertTo ( _
context As ITypeDescriptorContext, _
destinationType As Type _
) As Boolean
'Utilizzo
Dim instance As SplitterLengthConverter
Dim context As ITypeDescriptorContext
Dim destinationType As Type
Dim returnValue As Boolean
returnValue = instance.CanConvertTo(context, _
destinationType)
public override bool CanConvertTo(
ITypeDescriptorContext context,
Type destinationType
)
public:
virtual bool CanConvertTo(
ITypeDescriptorContext^ context,
Type^ destinationType
) override
abstract CanConvertTo :
context:ITypeDescriptorContext *
destinationType:Type -> bool
override CanConvertTo :
context:ITypeDescriptorContext *
destinationType:Type -> bool
public override function CanConvertTo(
context : ITypeDescriptorContext,
destinationType : Type
) : boolean
Parameters
- context
Type: System.ComponentModel.ITypeDescriptorContext
- destinationType
Type: System.Type
Return Value
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.