Share via


PropertyIdentifier Constructor (TypeIdentifier, String)

Initializes a new instance of the PropertyIdentifier class with the specified existing type identifier and property name.

Namespace:  Microsoft.Windows.Design.Metadata
Assembly:  Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)

Syntax

'Declaration
Public Sub New ( _
    declaringTypeId As TypeIdentifier, _
    name As String _
)
public PropertyIdentifier(
    TypeIdentifier declaringTypeId,
    string name
)
public:
PropertyIdentifier(
    TypeIdentifier declaringTypeId, 
    String^ name
)
new : 
        declaringTypeId:TypeIdentifier * 
        name:string -> PropertyIdentifier
public function PropertyIdentifier(
    declaringTypeId : TypeIdentifier, 
    name : String
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

name is nulla null reference (Nothing in Visual Basic).

ArgumentNullException

declaringTypeId was created by using an empty constructor.

.NET Framework Security

See Also

Reference

PropertyIdentifier Structure

PropertyIdentifier Overload

Microsoft.Windows.Design.Metadata Namespace