Compartilhar via


AttachmentSelection Interface

Definição

Contém um conjunto de Attachment objetos que representam os anexos selecionados em um item do Outlook.

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

Comentários

This is a .NET interface derived from a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this derived interface to access all method, property, and event members of the COM object. However, if a method or event you want to use shares the same name under the same COM object, cast to the corresponding primary interface to call the method, and cast to the latest events interface to connect to the event. Refer to this topic for information about the COM object. Para obter informações sobre o método e os membros da propriedade do objeto COM, consulte _AttachmentSelection.

O objeto AttachmentSelection contém uma coleção somente leitura de anexos selecionados em um item que está no Inspetor ativo ou no explorer ativo.

Para personalizar o menu de atalho de anexo usando a extensibilidade de faixa de opções fluente do Microsoft Office, use a propriedade Context da interface IRibbonControl para obter um objeto AttachmentSelection .

Propriedades

Application

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

(Herdado de _AttachmentSelection)
Class

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

(Herdado de _AttachmentSelection)
Count

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

(Herdado de _AttachmentSelection)
Item[Object]

Retorna um Attachment objeto da coleção.

(Herdado de _AttachmentSelection)
Location

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

(Herdado de _AttachmentSelection)
Parent

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

(Herdado de _AttachmentSelection)
Session

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

(Herdado de _AttachmentSelection)

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.

(Herdado de _AttachmentSelection)

Aplica-se a