Cmdlet Provider Intrinsics. Is Container(String) Method
Determines if the specified path is to an item that is a container.
public: bool IsContainer(System::String ^ path);
public: bool IsContainer(Platform::String ^ path);
bool IsContainer(std::wstring const & path);
public bool IsContainer (string path);
member this.IsContainer : string -> bool
Public Function IsContainer (path As String) As Boolean
The path to the item to determine if it is a container.
True if the path is to an item that is a container. False otherwise.
path is null.
path refers to a provider that could not be found.
path refers to a drive that could not be found.
If the provider that the
path refers to does
not support this operation.
If the provider threw an exception.