NDepend.API Documentation
NbCharacters Property
NDepend.CodeModel Namespace > ISourceFile Interface : NbCharacters Property
Get the number of characters in this source file.
Syntax
uint NbCharacters {get;}
Remarks
Notice that this is not the size in bytes of the source file. If the source file has an encoding like UTF8, each ASCII character is coded on a byte and other characters can be coded on several bytes.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ISourceFile Interface
ISourceFile Members