-
-
Save gregoryyoung/847690 to your computer and use it in GitHub Desktop.
GO MS GO
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (short i = 1; i <= projectItem.FileCount; i++) | |
{ | |
var filename = projectItem.FileNames[i]; | |
if (filename != null && filename.ToLower() == path) //SERIOUSLY WTF YOU TOLD ME YOU HAVE ONE AND RETURN ME NULL? | |
{ | |
return projectItem; | |
} | |
} |
No its COM (VB interface so 1 based)
On Wed, May 18, 2011 at 4:54 PM, JamesTryand ***@***.*** wrote:
should that be projectItem.FileNames[i - 1]; ?
##
Reply to this email directly or view it on GitHub:
https://gist.github.com/847690
##
Les erreurs de grammaire et de syntaxe ont été incluses pour m'assurer
de votre attention
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
should that be projectItem.FileNames[i - 1]; ?