InheritanceAttribute Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the InheritanceAttribute class.
Overloads
InheritanceAttribute() |
Initializes a new instance of the InheritanceAttribute class. |
InheritanceAttribute(InheritanceLevel) |
Initializes a new instance of the InheritanceAttribute class with the specified inheritance level. |
InheritanceAttribute()
- Source:
- InheritanceAttribute.cs
- Source:
- InheritanceAttribute.cs
- Source:
- InheritanceAttribute.cs
Initializes a new instance of the InheritanceAttribute class.
public:
InheritanceAttribute();
public InheritanceAttribute ();
Public Sub New ()
Applies to
InheritanceAttribute(InheritanceLevel)
- Source:
- InheritanceAttribute.cs
- Source:
- InheritanceAttribute.cs
- Source:
- InheritanceAttribute.cs
Initializes a new instance of the InheritanceAttribute class with the specified inheritance level.
public:
InheritanceAttribute(System::ComponentModel::InheritanceLevel inheritanceLevel);
public InheritanceAttribute (System.ComponentModel.InheritanceLevel inheritanceLevel);
new System.ComponentModel.InheritanceAttribute : System.ComponentModel.InheritanceLevel -> System.ComponentModel.InheritanceAttribute
Public Sub New (inheritanceLevel As InheritanceLevel)
Parameters
- inheritanceLevel
- InheritanceLevel
An InheritanceLevel that indicates the level of inheritance to set this attribute to.