IVsTextSelectionAction.GetDestination(SELECTIONSTATE[]) Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Ruft das Ziel der Textauswahl ab.
public:
int GetDestination(cli::array <Microsoft::VisualStudio::TextManager::Interop::SELECTIONSTATE> ^ pSelState);
public:
int GetDestination(Platform::Array <Microsoft::VisualStudio::TextManager::Interop::SELECTIONSTATE> ^ pSelState);
int GetDestination(std::Array <Microsoft::VisualStudio::TextManager::Interop::SELECTIONSTATE> const & pSelState);
public int GetDestination (Microsoft.VisualStudio.TextManager.Interop.SELECTIONSTATE[] pSelState);
abstract member GetDestination : Microsoft.VisualStudio.TextManager.Interop.SELECTIONSTATE[] -> int
Public Function GetDestination (pSelState As SELECTIONSTATE()) As Integer
Parameter
- pSelState
- SELECTIONSTATE[]
[out] Zeile und Spalte des Ziels der Textauswahl. Die Werte befinden sich in der SELECTIONSTATE-Strukt.
Gibt zurück
Wenn die Methode erfolgreich ist, wird S_OK zurückgegeben. Bei einem Fehler wird ein Fehlercode zurückgegeben.
Hinweise
COM-Signatur
Aus textmgr. idl:
HRESULT IVsTextSelectionAction::GetDestination(
[out] SELECTIONSTATE *pSelState
);