Construtor DescriptionResourceAttribute (String, Type)

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

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 _
)
public DescriptionResourceAttribute(
    string descriptionKey,
    Type type
)

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 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