DisplayPropertyAttribute Constructor (String)
Initializes a new instance of the DisplayPropertyAttribute class with the specified property name.
Namespace: Microsoft.Windows.Design
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Sub New ( _
displayPropertyName As String _
)
public DisplayPropertyAttribute(
string displayPropertyName
)
public:
DisplayPropertyAttribute(
String^ displayPropertyName
)
new :
displayPropertyName:string -> DisplayPropertyAttribute
public function DisplayPropertyAttribute(
displayPropertyName : String
)
Parameters
- displayPropertyName
Type: System.String
The name of the property to use for display in a designer.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DisplayPropertyAttribute Class