IDynamicPropertyCmdletProvider.RemovePropertyDynamicParameters Method

Returns any dynamic parameters required by the Remove-ItemProperty cmdlet.

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

Dim instance As IDynamicPropertyCmdletProvider
Dim path As String
Dim propertyName As String
Dim returnValue As Object

returnValue = instance.RemovePropertyDynamicParameters(path, propertyName)

Object RemovePropertyDynamicParameters (
	string path,
	string propertyName
Object RemovePropertyDynamicParameters (
	String path, 
	String propertyName
function RemovePropertyDynamicParameters (
	path : String, 
	propertyName : String
) : Object



The path to the item where the property is to be removed.


The name of the removed property.

Return Value

An Object object that contains the dynamic parameters for the Remove-ItemProperty cmdlet.

The provider engine calls this method before the RemoveProperty method is called to dynamically add parameters to the Remove-ItemProperty cmdlet. The Object object returned by this method can be any CLR object that has properties or fields tagged as parameters or a pseudo-parameter collection that allows additional parameters to be defined at runtime.

In this context, an "item" is something that contains content within a data store. For example, the items of the file system store could be files or directories.

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

© 2015 Microsoft