Condividi tramite


ProvideToolboxItemDiscoveryAttribute.FileFilter Property

Gets or sets the file filter for the browse dialog.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Property FileFilter As String
public string FileFilter { get; set; }
public:
property String^ FileFilter {
    String^ get ();
    void set (String^ value);
}
member FileFilter : string with get, set
function get FileFilter () : String 
function set FileFilter (value : String)

Property Value

Type: String

Remarks

The string should point to a resource identifier (such as "@1234") that resolves to a string similar to "Executables (*.dll; *.exe)|*.dll;*.exe|All Files (*.*)|*.*". Note that if this string does not start with "@", then toolbox uses the provided string as is, instead of doing a resource lookup.

.NET Framework Security

See Also

Reference

ProvideToolboxItemDiscoveryAttribute Class

Microsoft.VisualStudio.Shell Namespace