Display items in a code snippet

H

Hardy

I created a code snippet which is for displaying file name,Line number
and function name in C#.NET project.

// <File>
sf.GetFileName()
// </File>
// <Line>
sf.GetFileLineNumber().ToString()
// </Line>
// <Function>
sf.GetMethod().ToString()
// <Function>

But I could not get the file name,Line number and function name.
Only get the functions for this..
How to display these items in a code snippet?
Please help me.
 
H

Hardy

I want to insert a code snippet upper the functions which contain
funcion name,File name and line number.- Hide quoted text -

- Show quoted text -

I want to insert a comment using code snippet upper the functions
which contain
funcion name,File name and line number.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top