Tests to ensure the CommandBarSettings class can be converted to the destination type
| C# | Visual Basic | Visual C++ |
public override bool CanConvertTo( ITypeDescriptorContext context, Type destinationType )
Public Overrides Function CanConvertTo ( _ context As ITypeDescriptorContext, _ destinationType As Type _ ) As Boolean
public: virtual bool CanConvertTo( ITypeDescriptorContext^ context, Type^ destinationType ) override
- context (ITypeDescriptorContext)
- Provides contextual information about a component, such as its container and property descriptor.
- destinationType (Type)
- target type
true if can convert to type otherwise false