IPropertyCmdletProvider IPropertyCmdletProvider IPropertyCmdletProvider IPropertyCmdletProvider Interface

Definition

An interface that can be implemented by a Cmdlet provider to expose properties of an item.

public interface class IPropertyCmdletProvider
public interface IPropertyCmdletProvider
type IPropertyCmdletProvider = interface
Public Interface IPropertyCmdletProvider
Derived

Remarks

An IPropertyCmdletProvider provider implements a set of methods that allows the use of a set of core commands against the data store that the provider gives access to. By implementing this interface users can take advantage the commands that expose the contents of an item. get-itemproperty set-itemproperty etc. This interface should only be implemented on derived classes of CmdletProvider, ItemCmdletProvider, ContainerCmdletProvider, or NavigationCmdletProvider.

A namespace provider should implemented this interface if items in the namespace have properties the provide wishes to expose.

Methods

ClearProperty(String, Collection<String>) ClearProperty(String, Collection<String>) ClearProperty(String, Collection<String>) ClearProperty(String, Collection<String>)

Clears a property of the item at the specified path.

ClearPropertyDynamicParameters(String, Collection<String>) ClearPropertyDynamicParameters(String, Collection<String>) ClearPropertyDynamicParameters(String, Collection<String>) ClearPropertyDynamicParameters(String, Collection<String>)

Gives the provider an opportunity to attach additional parameters to the clear-itemproperty cmdlet.

GetProperty(String, Collection<String>) GetProperty(String, Collection<String>) GetProperty(String, Collection<String>) GetProperty(String, Collection<String>)

Gets the properties of the item specified by the path.

GetPropertyDynamicParameters(String, Collection<String>) GetPropertyDynamicParameters(String, Collection<String>) GetPropertyDynamicParameters(String, Collection<String>) GetPropertyDynamicParameters(String, Collection<String>)

Gives the provider an opportunity to attach additional parameters to the get-itemproperty cmdlet.

SetProperty(String, PSObject) SetProperty(String, PSObject) SetProperty(String, PSObject) SetProperty(String, PSObject)

Sets the specified properties of the item at the specified path.

SetPropertyDynamicParameters(String, PSObject) SetPropertyDynamicParameters(String, PSObject) SetPropertyDynamicParameters(String, PSObject) SetPropertyDynamicParameters(String, PSObject)

Gives the provider an opportunity to attach additional parameters to the get-itemproperty cmdlet.

Applies to