Sdílet prostřednictvím


DriveCmdletProvider.NewDriveDynamicParameters Method

Definition

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

protected:
 virtual System::Object ^ NewDriveDynamicParameters();
protected:
 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

Returns

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 implementation returns null. (no additional parameters)

Applies to