Partilhar via


Construtor DescriptionResourceAttribute (String, Type, String)

Inicializa uma nova instância da DescriptionResourceAttribute classe usando a chave de descrição especificada, tipo e nome de recursos.

Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (em Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Sintaxe

'Declaração
Public Sub New ( _
    descriptionKey As String, _
    type As Type, _
    resourceName As String _
)
public DescriptionResourceAttribute(
    string descriptionKey,
    Type type,
    string resourceName
)

Parâmetros

  • descriptionKey
    Tipo: System.String
    A chave da entrada de recurso a descrição no recurso especificado.
  • type
    Tipo: System.Type
    O tipo que identifica o assembly que contém o recurso.

Exceções

Exceção Condição
ArgumentNullException

typeis nulluma referência nula (Nothing no Visual Basic), or descriptionKey or resourceName is nulluma referência nula (Nothing no Visual Basic) or the empty string ("").

Segurança do .NET Framework

Consulte também

Referência

DescriptionResourceAttribute Classe

Sobrecargas DescriptionResourceAttribute

Namespace Microsoft.VisualStudio.Modeling.Design