Partilhar via


ModelingEnumerationConverter.CanConvertFrom Method

Include Protected Members
Include Inherited Members

Indicates whether this converter can convert an object of one type to the type of this converter.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method CanConvertFrom(Type) Returns whether this converter can convert an object of the given type to the type of this converter. (Inherited from TypeConverter.)
Public method CanConvertFrom(ITypeDescriptorContext, Type) Indicates whether this converter can convert an object in the given source type to a domain enumeration object by using the specified context. (Overrides TypeConverter.CanConvertFrom(ITypeDescriptorContext, Type).)

Top

See Also

Reference

ModelingEnumerationConverter Class

Microsoft.VisualStudio.Modeling.Design Namespace