Construtor DisplayPropertyAttribute (String, Type)

Inicializa uma nova instância de DisplayPropertyAttribute classe com a propriedade especificada nome e valor conversor.

Namespace:  Microsoft.Windows.Design
Assembly:  Microsoft.Windows.Design.Interaction (em Microsoft.Windows.Design.Interaction.dll)

Sintaxe

'Declaração
Public Sub New ( _
    displayPropertyName As String, _
    valueConverterType As Type _
)
public DisplayPropertyAttribute(
    string displayPropertyName,
    Type valueConverterType
)
public:
DisplayPropertyAttribute(
    String^ displayPropertyName, 
    Type^ valueConverterType
)
new : 
        displayPropertyName:string * 
        valueConverterType:Type -> DisplayPropertyAttribute
public function DisplayPropertyAttribute(
    displayPropertyName : String, 
    valueConverterType : Type
)

Parâmetros

  • displayPropertyName
    Tipo: System.String
    O nome da propriedade a ser usado para exibição em um designer.
  • valueConverterType
    Tipo: System.Type
    O tipo de conversor de valor.

Segurança do .NET Framework

Consulte também

Referência

DisplayPropertyAttribute Classe

Sobrecargas DisplayPropertyAttribute

Namespace Microsoft.Windows.Design