IVsSyntheticTextClient.GetMarkerCommandInfo(IVsSyntheticRegion, Int32, String[], UInt32[]) 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.
Gibt Marker-Befehlsinformationen zurück.
public:
int GetMarkerCommandInfo(Microsoft::VisualStudio::TextManager::Interop::IVsSyntheticRegion ^ pSynthReg, int iItem, cli::array <System::String ^> ^ pbstrText, cli::array <System::UInt32> ^ pcmdf);
public:
int GetMarkerCommandInfo(Microsoft::VisualStudio::TextManager::Interop::IVsSyntheticRegion ^ pSynthReg, int iItem, Platform::Array <Platform::String ^> ^ pbstrText, Platform::Array <unsigned int> ^ pcmdf);
int GetMarkerCommandInfo(Microsoft::VisualStudio::TextManager::Interop::IVsSyntheticRegion const & pSynthReg, int iItem, std::Array <std::wstring const &> const & pbstrText, std::Array <unsigned int> const & pcmdf);
public int GetMarkerCommandInfo (Microsoft.VisualStudio.TextManager.Interop.IVsSyntheticRegion pSynthReg, int iItem, string[] pbstrText, uint[] pcmdf);
abstract member GetMarkerCommandInfo : Microsoft.VisualStudio.TextManager.Interop.IVsSyntheticRegion * int * string[] * uint32[] -> int
Public Function GetMarkerCommandInfo (pSynthReg As IVsSyntheticRegion, iItem As Integer, pbstrText As String(), pcmdf As UInteger()) As Integer
Parameter
- pSynthReg
- IVsSyntheticRegion
[in] Der relevante synthetische Bereich.
- iItem
- Int32
[in] Der Markerbefehl, der ausgeführt werden soll. (Weitere Informationen erhalten Sie unter MarkerCommandValues.)
- pbstrText
- String[]
[out] [optional to set] Der Titel für Befehl.
- pcmdf
- UInt32[]
vorgenommen Befehlsflags, die diese Eigenschaften als Sichtbarkeit angeben oder aktiviert werden.
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 IVsSyntheticTextClient::GetMarkerCommandInfo(
[in] IVsSyntheticRegion *pSynthReg,
[in] long iItem,
[out, custom(uuid_IVsSyntheticTextClient, "optional")] BSTR * pbstrText,
[out] DWORD* pcmdf
);