IVsFilterNewProjectDlg.FilterTreeItemByTemplateDir Method
Filters tree items by template directory name.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function FilterTreeItemByTemplateDir ( _
pszTemplateDir As String, _
<OutAttribute> ByRef pfFilter As Integer _
) As Integer
int FilterTreeItemByTemplateDir(
string pszTemplateDir,
out int pfFilter
)
int FilterTreeItemByTemplateDir(
[InAttribute] String^ pszTemplateDir,
[OutAttribute] int% pfFilter
)
abstract FilterTreeItemByTemplateDir :
pszTemplateDir:string *
pfFilter:int byref -> int
function FilterTreeItemByTemplateDir(
pszTemplateDir : String,
pfFilter : int
) : int
Parameters
pszTemplateDir
Type: String[in] Pointer to a string containing the name to test for filtering.
pfFilter
Type: Int32%[out] Pointer to a Boolean. Set to true if the item should be filtered.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.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.