แก้ไข

แชร์ผ่าน


DBDataPermission.FromXml(SecurityElement) Method

Definition

Reconstructs a security object with a specified state from an XML encoding.

public:
 override void FromXml(System::Security::SecurityElement ^ securityElement);
public override void FromXml (System.Security.SecurityElement securityElement);
override this.FromXml : System.Security.SecurityElement -> unit
Public Overrides Sub FromXml (securityElement As SecurityElement)

Parameters

securityElement
SecurityElement

The XML encoding to use to reconstruct the security object.

Remarks

Custom code that extends security objects needs to implement the ToXml and FromXml methods to make the objects security encodable.

Applies to

See also