AuthorizationRuleCollection.CopyTo(AuthorizationRule[], Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Copies the contents of the collection to an array.
public:
void CopyTo(cli::array <System::Security::AccessControl::AuthorizationRule ^> ^ rules, int index);
public void CopyTo (System.Security.AccessControl.AuthorizationRule[] rules, int index);
member this.CopyTo : System.Security.AccessControl.AuthorizationRule[] * int -> unit
Public Sub CopyTo (rules As AuthorizationRule(), index As Integer)
Parameters
- rules
- AuthorizationRule[]
An array to which to copy the contents of the collection.
- index
- Int32
The zero-based index from which to begin copying.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.