NavigationCmdletProvider.IsItemContainer Method

Determines whether the item is or is not a container item. In this context, the term container refers to an item that contains other items. In terms of a multi-level data store, a container is a node that has child nodes that represent another level in the store.


Namespace: System.Management.Automation.Provider
Assembly: System.Management.Automation (in System.Management.Automation.dll)

'Usage
Dim path As String
Dim returnValue As Boolean

returnValue = Me.IsItemContainer(path)

protected virtual bool IsItemContainer (
	string path
)
protected boolean IsItemContainer (
	String path
)
protected function IsItemContainer (
	path : String
) : boolean

Parameters

path

The path to be tested.

Return Value

True if the current location is a container item (the current node has child nodes); otherwise false.

For more information about providers, see Windows PowerShell Providers.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Server 2008, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional, Windows Vista, Windows Server 2003 R2, Windows XP, Windows 7, Windows 2008 R2, Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft