ProvidePropertyAttribute Constructor (String, Type)

 

Initializes a new instance of the ProvidePropertyAttribute class with the name of the property and its Type.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public ProvidePropertyAttribute(
	string propertyName,
	Type receiverType
)

Parameters

propertyName
Type: System.String

The name of the property extending to an object of the specified type.

receiverType
Type: System.Type

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

.NET Framework
Available since 1.1
Return to top
Show: