System.Security.Policy.CodeGroup.Copy C# (CSharp) Method

Copy() public abstract method

public abstract Copy ( ) : CodeGroup
return CodeGroup
        public abstract CodeGroup Copy();
        protected virtual void CreateXml(SecurityElement element, PolicyLevel level) { }

Same methods

CodeGroup::Copy ( ) : System.Security.Policy.CodeGroup

Usage Example

Esempio n. 1
0
 /// <summary>Adds a child code group to the current code group.</summary>
 /// <param name="group">The code group to be added as a child. This new child code group is added to the end of the list. </param>
 /// <exception cref="T:System.ArgumentNullException">The <paramref name="group" /> parameter is null. </exception>
 /// <exception cref="T:System.ArgumentException">The <paramref name="group" /> parameter is not a valid code group. </exception>
 public void AddChild(CodeGroup group)
 {
     if (group == null)
     {
         throw new ArgumentNullException("group");
     }
     this.m_children.Add(group.Copy());
 }
All Usage Examples Of System.Security.Policy.CodeGroup::Copy