PropertyIdentifier Constructor (Type, String)
Initializes a new instance of the PropertyIdentifier class with the specified existing type and property name.
Namespace: Microsoft.Windows.Design.Metadata
Assembly: Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)
Syntax
'Declaration
Public Sub New ( _
declaringType As Type, _
name As String _
)
public PropertyIdentifier(
Type declaringType,
string name
)
public:
PropertyIdentifier(
Type^ declaringType,
String^ name
)
new :
declaringType:Type *
name:string -> PropertyIdentifier
public function PropertyIdentifier(
declaringType : Type,
name : String
)
Parameters
- declaringType
Type: System.Type
The type on which the property is declared.
- name
Type: System.String
The name of the property.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | declaringType or name is nulla null reference (Nothing in Visual Basic). |
.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.