DriveCmdletProvider.NewDriveDynamicParameters Method


Gives the provider an opportunity to attach additional parameters to the New-PSDrive cmdlet.

 virtual System::Object ^ NewDriveDynamicParameters();
 virtual Platform::Object ^ NewDriveDynamicParameters();
 virtual winrt::Windows::Foundation::IInspectable NewDriveDynamicParameters();
protected virtual object NewDriveDynamicParameters ();
abstract member NewDriveDynamicParameters : unit -> obj
override this.NewDriveDynamicParameters : unit -> obj
Protected Overridable Function NewDriveDynamicParameters () As Object


Overrides of this method should return an object that has properties and fields decorated with parsing attributes similar to a cmdlet class or a RuntimeDefinedParameterDictionary.

The default implemenation returns null. (no additional parameters)

Applies to