ServiceProcessDescriptionAttribute Classe

Definição

Especifica uma descrição de uma propriedade ou evento.Specifies a description for a property or event.

public ref class ServiceProcessDescriptionAttribute : System::ComponentModel::DescriptionAttribute
[System.AttributeUsage(System.AttributeTargets.All)]
public class ServiceProcessDescriptionAttribute : System.ComponentModel.DescriptionAttribute
[<System.AttributeUsage(System.AttributeTargets.All)>]
type ServiceProcessDescriptionAttribute = class
    inherit DescriptionAttribute
Public Class ServiceProcessDescriptionAttribute
Inherits DescriptionAttribute
Herança
ServiceProcessDescriptionAttribute
Atributos

Comentários

Um designer visual pode exibir a descrição ao referenciar o membro do componente, como em um janela Propriedades.A visual designer can display the description when referencing the component member, such as in a Properties window. Acesse a Description propriedade para obter ou definir o texto associado a esse atributo.Access the Description property to get or set the text associated with this attribute.

Construtores

ServiceProcessDescriptionAttribute(String)

Inicializa uma nova instância da classe ServiceProcessDescriptionAttribute usando a descrição especificada.Initializes a new instance of the ServiceProcessDescriptionAttribute class, using the specified description.

Propriedades

Description

Obtém o texto de descrição associado ao processo de serviço.Gets description text associated with the service process.

DescriptionValue

Obtém ou define a cadeia de caracteres armazenada como a descrição.Gets or sets the string stored as the description.

(Herdado de DescriptionAttribute)
TypeId

Quando implementado em uma classe derivada, obtém um identificador exclusivo para este Attribute.When implemented in a derived class, gets a unique identifier for this Attribute.

(Herdado de Attribute)

Métodos

Equals(Object)

Retorna se o valor do objeto especificado é igual ao DescriptionAttribute atual.Returns whether the value of the given object is equal to the current DescriptionAttribute.

(Herdado de DescriptionAttribute)
GetHashCode()

Retorna o código hash para a instância.Returns the hash code for this instance.

(Herdado de DescriptionAttribute)
GetType()

Obtém o Type da instância atual.Gets the Type of the current instance.

(Herdado de Object)
IsDefaultAttribute()

Retorna um valor que indica se esta é a instância de DescriptionAttribute padrão.Returns a value indicating whether this is the default DescriptionAttribute instance.

(Herdado de DescriptionAttribute)
Match(Object)

Quando substituído em uma classe derivada, retorna um valor que indica se essa instância é igual a um objeto especificado.When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.

(Herdado de Attribute)
MemberwiseClone()

Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object.

(Herdado de Object)
ToString()

Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object.

(Herdado de Object)

Implantações explícitas de interface

_Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

Mapeia um conjunto de nomes para um conjunto correspondente de identificadores de expedição.Maps a set of names to a corresponding set of dispatch identifiers.

(Herdado de Attribute)
_Attribute.GetTypeInfo(UInt32, UInt32, IntPtr)

Recupera as informações de tipo para um objeto, que pode ser usado para obter as informações de tipo para uma interface.Retrieves the type information for an object, which can be used to get the type information for an interface.

(Herdado de Attribute)
_Attribute.GetTypeInfoCount(UInt32)

Retorna o número de interfaces de informações do tipo que um objeto fornece (0 ou 1).Retrieves the number of type information interfaces that an object provides (either 0 or 1).

(Herdado de Attribute)
_Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

Fornece acesso a propriedades e métodos expostos por um objeto.Provides access to properties and methods exposed by an object.

(Herdado de Attribute)

Aplica-se a

Confira também