PropertyItem Constructor (String, String)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Initializes a new instance of the PropertyItem class to represent the property with the specified name and display name.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Sub New ( _
propertyName As String, _
displayName As String _
)
'Usage
Dim propertyName As String
Dim displayName As String
Dim instance As New PropertyItem(propertyName, _
displayName)
public PropertyItem(
string propertyName,
string displayName
)
public:
PropertyItem(
String^ propertyName,
String^ displayName
)
public function PropertyItem(
propertyName : String,
displayName : String
)
new :
propertyName:string *
displayName:string -> PropertyItem
Parameters
- propertyName
Type: System.String
Name of the property this class represents.
- displayName
Type: System.String
The display name associated with this property. If nulla null reference (Nothing in Visual Basic), the property name itself is used.
.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.