PeerCollaborationPermission.ToXml 方法

定义

创建 PeerCollaborationPermission 及其当前状态的 XML 编码。Creates an XML encoding of the PeerCollaborationPermission and its current state.

public:
 override System::Security::SecurityElement ^ ToXml();
public override System.Security.SecurityElement ToXml ();
override this.ToXml : unit -> System.Security.SecurityElement
Public Overrides Function ToXml () As SecurityElement

返回

SecurityElement

权限的 XML 编码,包括任何状态信息。An XML encoding of the permission, including any state information.

注解

通常,权限类方法由基础结构使用,不应在应用程序中使用。In general, permission class methods are used by the infrastructure and are not intended for use in applications.

适用于

另请参阅