Edit

Share via


InheritanceAttribute Constructors

Definition

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.

See also

Applies to