VCCodeUsingAlias.GetStartPoint(vsCMPart) Méthode

Définition

Retourne 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

Cette méthode et la GetEndPoint méthode 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 spécifie la définition de l’élément de code à retourner.

S’applique à