IDReferencePropertyAttribute Constructor (Type)
Initializes a new instance of the IDReferencePropertyAttribute class using the specified type.
Assembly: System.Web (in System.Web.dll)
The following code example demonstrates how the IDReferencePropertyAttribute attribute is applied to a property that evaluates to a string. In this example, the DataSourceID member identifies a data source control and therefore specifies the DataSourceControl type.
Available since 2.0