IVsTextStorageColorState.GetColorStateAtStartOfLine(Int32, Int32) 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’état de couleur au début de la ligne spécifiée.
public:
int GetColorStateAtStartOfLine(int iLine, [Runtime::InteropServices::Out] int % piState);
int GetColorStateAtStartOfLine(int iLine, [Runtime::InteropServices::Out] int & piState);
public int GetColorStateAtStartOfLine (int iLine, out int piState);
abstract member GetColorStateAtStartOfLine : int * int -> int
Public Function GetColorStateAtStartOfLine (iLine As Integer, ByRef piState As Integer) As Integer
Paramètres
- iLine
- Int32
dans Numéro de la ligne d’intérêt.
- piState
- Int32
à État de la couleur.
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 IVsTextStorageColorState::GetColorStateAtStartOfLine(
[in] long iLine,
[out] long *piState
);