File Search Library
ValidExtensions Property



KellermanSoftware.FileSearchLibrary Namespace > SearchParms Class : ValidExtensions Property
File extensions that are valid to be searched. There is a default internal list based on Ack''s file types: https://beyondgrep.com/documentation/. Clearing this list will search for all extensions.
Syntax
'Declaration
 
Public Property ValidExtensions As HashSet(Of String)
'Usage
 
Dim instance As SearchParms
Dim value As HashSet(Of String)
 
instance.ValidExtensions = value
 
value = instance.ValidExtensions
public HashSet<string> ValidExtensions {get; set;}
public:
property HashSet<String^>^ ValidExtensions {
   HashSet<String^>^ get();
   void set (    HashSet<String^>^ value);
}
Remarks

This is the valid list of extensions. You may add or remove from this list:

.ada
.adb
.ads
.as
.asax
.ascx
.asm
.asmx
.asp
.aspx
.auradoc
.bas
.bash
.bat
.bdsgroup
.bdsproj
.c
.cc
.cfc
.cfm
.cfml
.clj
.cljc
.cljs
.cls
.cmake
.cmd
.cmp
.coffee
.component
.config
.cpp
.cpt
.cpy
.cs
.csh
.cshtml
.csproj
.css
.ctl
.cxx
.dart
.dof
.dpk
.dproj
.dtsconfig
.dtsx
.edn
.el
.erb
.erl
.ex
.exs
.f
.f03
.f77
.f90
.f95
.fish
.for
.fpp
.frm
.ftn
.go
.gpp
.gradle
.groovy
.groupproj
.grunit
.gsp
.gtmpl
.h
.hh
.hpp
.hrl
.hs
.htm
.html
.hxx
.ini
.int
.itcl
.itk
.jade
.java
.jhtm
.jhtml
.js
.jsp
.jspf
.jspx
.ksh
.kt
.kts
.less
.lhs
.lisp
.lsp
.lua
.m
.mak
.markdown
.master
.metadata
.mk
.ml
.mli
.mll
.mly
.mm
.mxml
.nfm
.ops
.page
.pas
.pasm
.pg
.php
.php3
.php4
.php5
.phpt
.phtml
.pir
.pl
.pm
.pmc
.pod
.properties
.ps1
.psgi
.pt
.py
.R
.rake
.rb
.rhtml
.rjs
.rs
.rst
.rxml
.s
.sass
.scala
.scm
.scss
.sh
.skin
.sln
.spec
.sql
.ss
.st
.sty
.styl
.sv
.svc
.swift
.t
.tcl
.tcsh
.tex
.tg
.tpl
.trigger
.ts
.tsx
.tt
.tt2
.ttml
.v
.vb
.vbproj
.vh
.vhdl
.vim
.wsdl
.wxs
.xaml
.xhtml
.xs
.xsd
.yaml
.yml
.zsh

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SearchParms Class
SearchParms Members