VCCodeStruct::GetStartPoint Method (vsCMPart)

 

Gets a TextPoint object that defines the beginning of the code element definition.

Namespace:   Microsoft.VisualStudio.VCCodeModel
Assembly:  Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)

TextPoint^ GetStartPoint(
	vsCMPart Part = vsCMPart::vsCMPartWholeWithAttributes
)

Parameters

Part
Type: EnvDTE::vsCMPart

Optional. A vsCMPart constant specifying the portion of the code to retrieve.

Return Value

Type: EnvDTE::TextPoint^

A TextPoint object.

The GetStartPoint and GetEndPoint methods return a TextPoint object that represents the beginning and end of a specified code element definition. The Part parameter defines the code element definition to return.

Return to top
Show: