1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
|
<html dir="LTR">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
<title>LevelCollection Methods</title>
<xml>
</xml>
<link rel="stylesheet" type="text/css" href="MSDN.css" />
</head>
<body id="bodyID" class="dtBODY">
<div id="nsbanner">
<div id="bannerrow1">
<table class="bannerparthead" cellspacing="0">
<tr id="hdr">
<td class="runninghead">log4net SDK Reference</td>
<td class="product">
</td>
</tr>
</table>
</div>
<div id="TitleRow">
<h1 class="dtH1">LevelCollectionMethods</h1>
</div>
</div>
<div id="nstext">
<p>The methods of the <b>LevelCollection</b> class are listed below. For a complete list of <b>LevelCollection</b> class members, see the <a href="log4net.Core.LevelCollectionMembers.html">LevelCollection Members</a> topic.</p>
<h4 class="dtH4">Public Static (Shared) Methods</h4>
<div class="tablediv">
<table class="dtTABLE" cellspacing="0">
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><img src="static.gif" /><a href="log4net.Core.LevelCollection.ReadOnly.html">ReadOnly</a></td><td width="50%"> Creates a read-only wrapper for a <code>LevelCollection</code> instance. </td></tr></table>
</div>
<h4 class="dtH4">Public Instance Methods</h4>
<div class="tablediv">
<table class="dtTABLE" cellspacing="0">
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Core.LevelCollection.Add.html">Add</a></td><td width="50%"> Adds a <a href="log4net.Core.Level.html">Level</a> to the end of the <code>LevelCollection</code>. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Core.LevelCollection.AddRange_overloads.html">AddRange</a></td><td width="50%">Overloaded. Adds the elements of a <a href="log4net.Core.Level.html">Level</a> collection to the current <code>LevelCollection</code>. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Core.LevelCollection.Clear.html">Clear</a></td><td width="50%"> Removes all elements from the <code>LevelCollection</code>. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Core.LevelCollection.Clone.html">Clone</a></td><td width="50%"> Creates a shallow copy of the <a href="log4net.Core.LevelCollection.html">LevelCollection</a>. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Core.LevelCollection.Contains.html">Contains</a></td><td width="50%"> Determines whether a given <a href="log4net.Core.Level.html">Level</a> is in the <code>LevelCollection</code>. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Core.LevelCollection.CopyTo_overloads.html">CopyTo</a></td><td width="50%">Overloaded. Copies the entire <code>LevelCollection</code> to a one-dimensional <a href="log4net.Core.Level.html">Level</a> array, starting at the specified index of the target array. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemObjectClassEqualsTopic.asp">Equals</a> (inherited from <b>Object</b>)</td><td width="50%">
Determines whether the specified <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemObjectClassTopic.asp">Object</a> is equal to the current <b>Object</b>.
</td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Core.LevelCollection.GetEnumerator.html">GetEnumerator</a></td><td width="50%"> Returns an enumerator that can iterate through the <code>LevelCollection</code>. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemObjectClassGetHashCodeTopic.asp">GetHashCode</a> (inherited from <b>Object</b>)</td><td width="50%">
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
</td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemObjectClassGetTypeTopic.asp">GetType</a> (inherited from <b>Object</b>)</td><td width="50%">
Gets the <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemTypeClassTopic.asp">Type</a> of the current instance.
</td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Core.LevelCollection.IndexOf.html">IndexOf</a></td><td width="50%"> Returns the zero-based index of the first occurrence of a <a href="log4net.Core.Level.html">Level</a> in the <code>LevelCollection</code>. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Core.LevelCollection.Insert.html">Insert</a></td><td width="50%"> Inserts an element into the <code>LevelCollection</code> at the specified index. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Core.LevelCollection.Remove.html">Remove</a></td><td width="50%"> Removes the first occurrence of a specific <a href="log4net.Core.Level.html">Level</a> from the <code>LevelCollection</code>. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Core.LevelCollection.RemoveAt.html">RemoveAt</a></td><td width="50%"> Removes the element at the specified index of the <code>LevelCollection</code>. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemObjectClassToStringTopic.asp">ToString</a> (inherited from <b>Object</b>)</td><td width="50%">
Returns a <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemStringClassTopic.asp">String</a> that represents the current <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemObjectClassTopic.asp">Object</a>.
</td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Core.LevelCollection.TrimToSize.html">TrimToSize</a></td><td width="50%"> Sets the capacity to the actual number of elements. </td></tr></table>
</div>
<h4 class="dtH4">Protected Instance Methods</h4>
<div class="tablediv">
<table class="dtTABLE" cellspacing="0">
<tr VALIGN="top"><td width="50%"><img src="protmethod.gif"></img><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemObjectClassFinalizeTopic.asp">Finalize</a> (inherited from <b>Object</b>)</td><td width="50%">
Allows an <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemObjectClassTopic.asp">Object</a> to attempt to free resources and perform other cleanup operations before the <b>Object</b> is reclaimed by garbage collection.
</td></tr>
<tr VALIGN="top"><td width="50%"><img src="protmethod.gif"></img><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemObjectClassMemberwiseCloneTopic.asp">MemberwiseClone</a> (inherited from <b>Object</b>)</td><td width="50%">
Creates a shallow copy of the current <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemObjectClassTopic.asp">Object</a>.
</td></tr></table>
</div>
<h4 class="dtH4">See Also</h4>
<p>
<a href="log4net.Core.LevelCollection.html">LevelCollection Class</a> | <a href="log4net.Core.html">log4net.Core Namespace</a></p>
<hr />
<div id="footer">
<p>
<a href="http://logging.apache.org/log4net">Copyright 2001-2006 The Apache Software Foundation.</a>
</p>
<p>Generated from assembly log4net [1.2.10.0]</p>
</div>
</div>
</body>
</html>
|