共用方式為


IVsFilterNewProjectDlg.FilterListItemByLocalizedName Method

Filters items by localized name.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'宣告
Function FilterListItemByLocalizedName ( _
    pszLocalizedName As String, _
    <OutAttribute> ByRef pfFilter As Integer _
) As Integer
'用途
Dim instance As IVsFilterNewProjectDlg
Dim pszLocalizedName As String
Dim pfFilter As Integer
Dim returnValue As Integer

returnValue = instance.FilterListItemByLocalizedName(pszLocalizedName, _
    pfFilter)
int FilterListItemByLocalizedName(
    string pszLocalizedName,
    out int pfFilter
)
int FilterListItemByLocalizedName(
    [InAttribute] String^ pszLocalizedName, 
    [OutAttribute] int% pfFilter
)
abstract FilterListItemByLocalizedName : 
        pszLocalizedName:string * 
        pfFilter:int byref -> int 
function FilterListItemByLocalizedName(
    pszLocalizedName : String, 
    pfFilter : int
) : int

Parameters

  • pszLocalizedName
    Type: System.String
    [in] Pointer to a string containing the name to test for filtering.
  • pfFilter
    Type: System.Int32%
    [out] Pointer to a Boolean. Set to true if the item should be filtered.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

.NET Framework Security

See Also

Reference

IVsFilterNewProjectDlg Interface

IVsFilterNewProjectDlg Members

Microsoft.VisualStudio.Shell.Interop Namespace