共用方式為


ProviderInfo Class

Definition

Information about a loaded Cmdlet Provider.

public ref class ProviderInfo
public class ProviderInfo
type ProviderInfo = class
Public Class ProviderInfo
Inheritance
ProviderInfo

Remarks

A cmdlet provider may want to derive from this class to provide their own public members to expose to the user or to cache information related to the provider.

Constructors

ProviderInfo(ProviderInfo)

Constructs an instance of the class using an existing reference as a template.

Properties

AltItemSeparator

Gets the alternate item separator character for this provider.

Capabilities

Gets the capabilities that are implemented by the provider.

Description

Gets or sets the description for the provider.

Drives

Gets an enumeration of drives that are available for this provider.

HelpFile

Gets the help file path for the provider.

Home

Gets or sets the home for the provider.

ImplementingType

Gets the System.Type of the class that implements the provider.

ItemSeparator

Gets the default item separator character for this provider.

Module

Gets the module the defined this provider.

ModuleName

Get the name of the module exporting this provider.

Name

Gets the name of the provider.

PSSnapIn

Gets the Snap-in in which the provider is implemented.

VolumeSeparatedByColon

Gets or sets if the drive-root relative paths on drives of this provider are separated by a colon or not.

This is true for all PSDrives on all platforms, except for filesystems on non-windows platforms.

Methods

ToString()

Gets the string representation of the instance which is the name of the provider.

Applies to