Bewerken

Delen via


ProvidePropertyAttribute Constructors

Definition

Initializes a new instance of the ProvidePropertyAttribute class.

Overloads

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.

ProvidePropertyAttribute(String, String)

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

ProvidePropertyAttribute(String, 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 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.

receiverType
Type

The Type of the data type of the object that can receive the property.

Applies to