共用方式為


SignatureCommandsBase.PerformAction Method

Definition

Overloads

PerformAction(String)

Performs the action (ie: get signature, or set signature) on the specified file.

PerformAction(String, Byte[])

Performs the action (ie: get signature, or set signature) on the specified contents.

PerformAction(String)

Performs the action (ie: get signature, or set signature) on the specified file.

protected:
 abstract System::Management::Automation::Signature ^ PerformAction(System::String ^ filePath);
protected abstract System.Management.Automation.Signature PerformAction (string filePath);
abstract member PerformAction : string -> System.Management.Automation.Signature
Protected MustOverride Function PerformAction (filePath As String) As Signature

Parameters

filePath
String

The name of the file on which to perform the action.

Returns

Applies to

PerformAction(String, Byte[])

Performs the action (ie: get signature, or set signature) on the specified contents.

protected:
 abstract System::Management::Automation::Signature ^ PerformAction(System::String ^ fileName, cli::array <System::Byte> ^ content);
protected abstract System.Management.Automation.Signature PerformAction (string fileName, byte[] content);
abstract member PerformAction : string * byte[] -> System.Management.Automation.Signature
Protected MustOverride Function PerformAction (fileName As String, content As Byte()) As Signature

Parameters

fileName
String

The filename used for type if content is specified.

content
Byte[]

The file contents on which to perform the action.

Returns

Applies to