共用方式為


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

See Also

Reference

ProvideToolboxItemDiscoveryAttribute Class

Microsoft.VisualStudio.Shell Namespace