ProvideToolboxItemDiscoveryAttribute.FileFilter Property
Gets or sets the file filter for the browse dialog.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣言
Public Property FileFilter As String
public string FileFilter { get; set; }
Property Value
Type: System.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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.