c# - How to determine if SearchPattern effects extension of file? -
I am currently For example: If I "code"> GetFiles - I do as a pattern for the method to "Halo_warld" I clearly a detail. If I have * * * For this method, would allow all extensions that I have it "* .docx", then allow all dock-file. How do I get an extension from the search bar? What Regards "I like looking for patterns .. .. \ xyz" or "Xyz" can not think where your method will not work as expected. The first case is not permitted by implementation (see in the description of parameter Apart from this, only * and? There are wildcards, while all other letters are the same. I can not think of another search method where your method will not return an extension. directory from .NET from -class in me and I want to know Whether the search port is defining an extension or not.
extensions ('.'). LastOrDefault () always in> only extension is - if no extension has been declared or in cases where Khojpatrn separate Allow different things and so can I find some solution in this solution?
searchPattern ). I do not know the second case is valid.
Comments
Post a Comment