VCProjectItem.MatchName Method (String, Boolean)
Matches a specified name to the name of a collection item.
Assembly: Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
Required. The name to match.
Required. true if you wantto match the full name of the string. false if you want to allow a match on the short name of the string.
Setting FillOnly to true is useful for projects, folders, and files, and requires an absolute path to match. A folder's absolute path is the concatenation of the folder names above it with its own name. A top-level folder's full name is the same as its name. If a folder named Source Files contains a subfolder named MyProject, the MyProject folder full name would be Source Files\MyProject.
Return ValueType: System.Boolean
true if the name was matched; otherwise, false.
operates on a collection item. If you are iterating over the members of a collection, you can use the method to determine whether the current item is the one in which you are interested.
You can also useto match debug configurations, regardless of the platform (which is part of the full name Debug\Win32).
You cannot usefor indexing into a collection. Indexing implies using the  operator or its equivalent .Item() method, and does not affect either process.