HashAlgorithmName.ToString 方法

定義

傳回目前 HashAlgorithmName 執行個體的字串表示。Returns the string representation of the current HashAlgorithmName instance.

public:
 override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

傳回

String

目前 HashAlgorithmName 執行個體的字串表示。The string representation of the current HashAlgorithmName instance.

備註

ToString Name 如果已指派屬性,方法會傳回該屬性。The ToString method returns the Name property, if it has been assigned. 否則,它會傳回 String.EmptyOtherwise, it returns String.Empty.

適用於