Freigeben über


Selection.Location Eigenschaft

Definition

Gibt eine OlSelectionLocation Konstante zurück, die angibt, wo sich die aktuelle Auswahl auf der Microsoft Outlook-Benutzeroberfläche befindet. Schreibgeschützt.

public:
 property Microsoft::Office::Interop::Outlook::OlSelectionLocation Location { Microsoft::Office::Interop::Outlook::OlSelectionLocation get(); };
public Microsoft.Office.Interop.Outlook.OlSelectionLocation Location { get; }
Public ReadOnly Property Location As OlSelectionLocation

Eigenschaftswert

Hinweise

Eine Location-Eigenschaft mit dem Wert olViewList bedeutet, dass sich die aktuelle Auswahl in einer Liste von Elementen in einem Explorer befindet. Das Aufrufen von GetSelection(OlSelectionContents) mit olConversationHeaders als Argument gibt ein Selection -Objekt zurück, Count das der Anzahl der Konversationsheader in der aktuellen Auswahl entspricht.

Wenn die Location-Eigenschaft nicht olViewList entspricht, wird beim Aufrufen von GetSelection mit olConversationHeaders als Argument ein Selection-Objekt mit Count gleich 0 zurückgegeben.

Gilt für: