Interface IType
The public interface for Type
[DefaultImplementationType(typeof(Type))]
[XmlDefaultImplementationType(typeof(Type))]
[ModelRepresentationClass("http://schema.omg.org/spec/MOF/2.0/cmof.xml#//Type")]
public interface IType : IPackageableElement, INamedElement, IElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
- Inherited Members
Properties
Package
References the owning package of a package. Subsets NamedElement::namespace and redefines Basic::Package::nestingPackage. Specifies the owning package of this classifier, if any.
[Browsable(false)]
[XmlElementName("package")]
[XmlAttribute(true)]
[XmlOpposite("ownedType")]
IPackage Package { get; set; }
Property Value
Methods
ConformsTo(IType)
The query conformsTo() gives true for a type that conforms to another. By default, two types do not conform to each other. This query is intended to be redefined for specific conformance situations. result = false
bool ConformsTo(IType other)
Parameters
other
IType
Returns
IsInstance(object)
bool IsInstance(object @object)
Parameters
object
object