Partager via


VCCodeUsingAlias.EndPointOf[vsCMPart, vsCMWhere] Property

Definition

Returns the end point of the object.

public:
 property EnvDTE::TextPoint ^ EndPointOf[EnvDTE::vsCMPart, Microsoft::VisualStudio::VCCodeModel::vsCMWhere] { EnvDTE::TextPoint ^ get(EnvDTE::vsCMPart Part, Microsoft::VisualStudio::VCCodeModel::vsCMWhere Where); };
[System.Runtime.InteropServices.DispId(551)]
public EnvDTE.TextPoint EndPointOf[EnvDTE.vsCMPart Part, Microsoft.VisualStudio.VCCodeModel.vsCMWhere Where = Microsoft.VisualStudio.VCCodeModel.vsCMWhere.vsCMWhereDefault] { [System.Runtime.InteropServices.DispId(551)] [System.Runtime.InteropServices.TypeLibFunc(System.Runtime.InteropServices.TypeLibFuncFlags.FNonBrowsable)] get; }
[<System.Runtime.InteropServices.DispId(551)>]
[<get: System.Runtime.InteropServices.DispId(551)>]
[<get: System.Runtime.InteropServices.TypeLibFunc(System.Runtime.InteropServices.TypeLibFuncFlags.FNonBrowsable)>]
member this.EndPointOf(EnvDTE.vsCMPart * Microsoft.VisualStudio.VCCodeModel.vsCMWhere) : EnvDTE.TextPoint
Public ReadOnly Property EndPointOf(Part As vsCMPart, Optional Where As vsCMWhere = Microsoft.VisualStudio.VCCodeModel.vsCMWhere.vsCMWhereDefault) As TextPoint

Parameters

Part
vsCMPart

Required. A vsCMPart value specifying which part of the definition or the declaration to use (attributes block, body, and so on).

Where
vsCMWhere

Optional. A vsCMWhere value specifying whether the TextPoint object is the definition or the declaration.

Property Value

A TextPoint object.

Attributes

Remarks

<xref:Microsoft.VisualStudio.VCCodeModel.UsingAlias.EndPointOf%2A> retrieves text points with more precision than the StartPoint object.

Applies to