ProvidePropertyAttribute Constructors
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 ProvidePropertyAttribute class.
ProvidePropertyAttribute(String, String) |
Initializes a new instance of the ProvidePropertyAttribute class with the name of the property and the type of its receiver. |
ProvidePropertyAttribute(String, Type) |
Initializes a new instance of the ProvidePropertyAttribute class with the name of the property and its Type. |
- Source:
- ProvidePropertyAttribute.cs
- Source:
- ProvidePropertyAttribute.cs
- Source:
- ProvidePropertyAttribute.cs
Initializes a new instance of the ProvidePropertyAttribute class with the name of the property and the type of its receiver.
public:
ProvidePropertyAttribute(System::String ^ propertyName, System::String ^ receiverTypeName);
public ProvidePropertyAttribute(string propertyName, string receiverTypeName);
new System.ComponentModel.ProvidePropertyAttribute : string * string -> System.ComponentModel.ProvidePropertyAttribute
Public Sub New (propertyName As String, receiverTypeName As String)
Parameters
- propertyName
- String
The name of the property extending to an object of the specified type.
- receiverTypeName
- String
The name of the data type this property can extend.
Applies to
.NET 10 a ďalšie verzie
Produkt | Verzie |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
- Source:
- ProvidePropertyAttribute.cs
- Source:
- ProvidePropertyAttribute.cs
- Source:
- ProvidePropertyAttribute.cs
Initializes a new instance of the ProvidePropertyAttribute class with the name of the property and its Type.
public:
ProvidePropertyAttribute(System::String ^ propertyName, Type ^ receiverType);
public ProvidePropertyAttribute(string propertyName, Type receiverType);
new System.ComponentModel.ProvidePropertyAttribute : string * Type -> System.ComponentModel.ProvidePropertyAttribute
Public Sub New (propertyName As String, receiverType As Type)
Parameters
- propertyName
- String
The name of the property extending to an object of the specified type.
Applies to
.NET 10 a ďalšie verzie
Produkt | Verzie |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
Pripomienky k produktu .NET
.NET je open-source projekt. Ak chcete poskytnúť pripomienky, vyberte prepojenie: