nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.ApplicationServices.Development.VisualStudio / Source

Source

Full name Microsoft.VisualBasic.ApplicationServices.Development.VisualStudio.VBProj.CodeDOM.Source Assembly Microsoft.VisualBasic.ApplicationServices.Development.VisualStudio Members 4

01 Syntax

Microsoft.VisualBasic.ApplicationServices.Development.VisualStudio.VBProj.CodeDOM.Source

02 Properties

NameOverloadsSummary
LineRange 1 the 1-based physical line range of the whole code block, including any leading xml documentation comment (''') / attribute block (<...>) and ending at the matching End XXX statem…
DeclarationLine 1 the 1-based physical line where the declaration keyword (Class / Function / ...) actually starts.
CodeBlock 1 extract the raw VB.NET source text of this symbol from its file.
FilePath 1

03 Members

property LineRange #
LineRange

the 1-based physical line range of the whole code block, including any leading xml documentation comment (''') / attribute block (<...>) and ending at the matching End XXX statement.

property DeclarationLine #
DeclarationLine

the 1-based physical line where the declaration keyword (Class / Function / ...) actually starts. May differ from Source.LineRange.Min when a leading xml doc / attribute block is present.

property CodeBlock #
CodeBlock

extract the raw VB.NET source text of this symbol from its file.

Remarks

This property reads the whole file on every access (lazy, on demand). Do not call it inside hot loops or ToString overrides.

property FilePath #
FilePath