Compartilhar via


_AttachmentSelection Interface

Definição

This is a primary interface in a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this primary interface only when the method you want to use shares the same name as an event of the COM object; in this case, cast to this interface to call the method, and cast to the latest events interface to connect to the event. Otherwise, use the .NET interface that is derived from the COM coclass to access methods, properties, and events of the COM object. Para obter informações sobre o objeto COM, consulte AttachmentSelection.

public interface class _AttachmentSelection : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("000630F9-0000-0000-C000-000000000046")]
public interface _AttachmentSelection : System.Collections.IEnumerable
Public Interface _AttachmentSelection
Implements IEnumerable
Derivado
Atributos
Implementações

Propriedades

Application

Retorna um Application objeto que representa o aplicativo pai do Outlook para o objeto. Somente leitura.

Class

Retorna uma OlObjectClass constante que indica a classe do objeto. Somente leitura.

Count

Retorna um valor Inteiro (int em C#) indicando a contagem de objetos na coleção especificada. Somente leitura.

Item[Object]

Retorna um Attachment objeto da coleção.

Location

Retorna uma OlSelectionLocation constante que especifica onde a seleção de anexo está na interface do usuário do Microsoft Outlook. Somente leitura.

Parent

Retorna o pai do objeto do objeto especificado. Somente leitura.

Session

Retorna o NameSpace objeto para a sessão atual. Somente leitura.

Métodos

GetSelection(OlSelectionContents)

Retorna um Selection objeto que contém o tipo de objetos especificados pelo SelectionContents parâmetro e que atualmente estão selecionados no explorador ativo onde está o item pai do AttachmentSelection objeto.

Aplica-se a