IVsSyntheticRegion.GetSyntheticLayerSpan(TextSpan[]) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient l’étendue de la couche propriétaire pour la région.
public:
int GetSyntheticLayerSpan(cli::array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ pSpan);
public:
int GetSyntheticLayerSpan(Platform::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ pSpan);
int GetSyntheticLayerSpan(std::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> const & pSpan);
public int GetSyntheticLayerSpan (Microsoft.VisualStudio.TextManager.Interop.TextSpan[] pSpan);
abstract member GetSyntheticLayerSpan : Microsoft.VisualStudio.TextManager.Interop.TextSpan[] -> int
Public Function GetSyntheticLayerSpan (pSpan As TextSpan()) As Integer
Paramètres
- pSpan
- TextSpan[]
[out] Étendue de la zone dans les coordonnées de la couche propriétaire.
Retours
Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.
Remarques
Signature COM
À partir de textmgr. idl :
HRESULT IVsSyntheticRegion::GetSyntheticLayerSpan(
[out] TextSpan *pSpan
);