CodeAccessPermission.ToString 方法

定义

创建并返回当前权限对象的字符串表示形式。Creates and returns a string representation of the current permission object.

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

返回

当前权限对象的字符串表示形式。A string representation of the current permission object.

注解

当你需要以字符串形式显示权限时,此方法可用于调试。This method is useful in debugging when you need to display the permission as a string.

适用于