VCCodeEvent.GetStartPoint(vsCMPart) Méthode

Définition

Obtient un objet TextPoint qui définit le début de la définition de l'élément de code.

EnvDTE::TextPoint GetStartPoint(EnvDTE::vsCMPart Part = EnvDTE.vsCMPart.vsCMPartWholeWithAttributes);
[System.Runtime.InteropServices.DispId(15)]
[System.Runtime.InteropServices.TypeLibFunc(System.Runtime.InteropServices.TypeLibFuncFlags.FNonBrowsable)]
public EnvDTE.TextPoint GetStartPoint (EnvDTE.vsCMPart Part = EnvDTE.vsCMPart.vsCMPartWholeWithAttributes);
[<System.Runtime.InteropServices.DispId(15)>]
[<System.Runtime.InteropServices.TypeLibFunc(System.Runtime.InteropServices.TypeLibFuncFlags.FNonBrowsable)>]
abstract member GetStartPoint : EnvDTE.vsCMPart -> EnvDTE.TextPoint
Public Function GetStartPoint (Optional Part As vsCMPart = EnvDTE.vsCMPart.vsCMPartWholeWithAttributes) As TextPoint

Paramètres

Part
vsCMPart

Optionnel. Constante vsCMPart spécifiant la partie du code à récupérer.

Retours

TextPoint

Objet TextPoint.

Attributs

Remarques

Les GetStartPoint GetEndPoint méthodes et retournent un TextPoint objet qui représente le début et la fin d’une définition d’élément de code spécifiée. Le Part paramètre définit la définition de l’élément de code à retourner.

S’applique à