Dela via


IDynamicPropertyCmdletProvider Interface

Definition

An interface that can be implemented on a Cmdlet provider to expose the dynamic manipulation of properties.

public interface class IDynamicPropertyCmdletProvider : System::Management::Automation::Provider::IPropertyCmdletProvider
public interface IDynamicPropertyCmdletProvider : System.Management.Automation.Provider.IPropertyCmdletProvider
[System.Runtime.CompilerServices.NullableContext(1)]
public interface IDynamicPropertyCmdletProvider : System.Management.Automation.Provider.IPropertyCmdletProvider
type IDynamicPropertyCmdletProvider = interface
    interface IPropertyCmdletProvider
[<System.Runtime.CompilerServices.NullableContext(1)>]
type IDynamicPropertyCmdletProvider = interface
    interface IPropertyCmdletProvider
Public Interface IDynamicPropertyCmdletProvider
Implements IPropertyCmdletProvider
Derived
Attributes
Implements

Remarks

An IDynamicPropertyCmdletProvider 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 creation and deletion of properties on an item. rename-itemproperty remove-itemproperty new-itemproperty etc. This interface should only be implemented on derived classes of CmdletProvider, ItemCmdletProvider, ContainerCmdletProvider, or NavigationCmdletProvider.

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

Methods

ClearProperty(String, Collection<String>)

Clears a property of the item at the specified path.

(Inherited from IPropertyCmdletProvider)
ClearPropertyDynamicParameters(String, Collection<String>)

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

(Inherited from IPropertyCmdletProvider)
CopyProperty(String, String, String, String)

Copies a property of the item at the specified path to a new property on the destination item.

CopyPropertyDynamicParameters(String, String, String, String)

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

GetProperty(String, Collection<String>)

Gets the properties of the item specified by the path.

(Inherited from IPropertyCmdletProvider)
GetPropertyDynamicParameters(String, Collection<String>)

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

(Inherited from IPropertyCmdletProvider)
MoveProperty(String, String, String, String)

Moves a property on an item specified by the path.

MovePropertyDynamicParameters(String, String, String, String)

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

NewProperty(String, String, String, Object)

Creates a new property on the specified item.

NewPropertyDynamicParameters(String, String, String, Object)

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

RemoveProperty(String, String)

Removes a property on the item specified by the path.

RemovePropertyDynamicParameters(String, String)

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

RenameProperty(String, String, String)

Renames a property of the item at the specified path.

RenamePropertyDynamicParameters(String, String, String)

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

SetProperty(String, PSObject)

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

(Inherited from IPropertyCmdletProvider)
SetPropertyDynamicParameters(String, PSObject)

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

(Inherited from IPropertyCmdletProvider)

Applies to