See also:
NTier Windows Forms Framework Home
NTier Framework API reference

Try to get a project item filename at index 0, then at index 1 to get around an inconsistency in how VS handles some project item filenames.

Namespace: NTier.VisualStudioWizards
Assembly: NTier.VisualStudioWizards (in NTier.VisualStudioWizards.dll) Version: 1.0.0.0

Syntax

C#
public static string GetFileName(
	ProjectItem projectItem
)
Visual Basic
Public Shared Function GetFileName ( 
	projectItem As ProjectItem
) As String
Visual C++
public:
static String^ GetFileName(
	ProjectItem^ projectItem
)

Parameters

projectItem
Type: ProjectItem

Return Value

Type: String

See Also