blob: 6e888ac9d316907400a0558af96b88126b99a776 [file] [log] [blame]
<html xmlns:MSHelp="http://msdn.microsoft.com/mshelp" xmlns:mshelp="http://msdn.microsoft.com/mshelp"><head><link rel="SHORTCUT ICON" href="./../icons/favicon.ico" /><style type="text/css">.OH_CodeSnippetContainerTabLeftActive, .OH_CodeSnippetContainerTabLeft,.OH_CodeSnippetContainerTabLeftDisabled { backgroundImageName: tabLeftBG.gif; }.OH_CodeSnippetContainerTabRightActive, .OH_CodeSnippetContainerTabRight,.OH_CodeSnippetContainerTabRightDisabled { backgroundImageName: tabRightBG.gif; }.OH_footer { backgroundImageName: footer_slice.gif; background-position: top; background-repeat: repeat-x; }</style><link rel="stylesheet" type="text/css" href="./../styles/branding.css" /><link rel="stylesheet" type="text/css" href="./../styles/branding-en-US.css" /><style type="text/css">
body
{
border-left:5px solid #e6e6e6;
overflow-x:scroll;
overflow-y:scroll;
}
</style><script src="./../scripts/branding.js" type="text/javascript"><!----></script><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>PluginCollection Methods</title><meta name="Language" content="en-us" /><meta name="System.Keywords" content="PluginCollection class, methods" /><meta name="Microsoft.Help.Id" content="Methods.T:log4net.Plugin.PluginCollection" /><meta name="Microsoft.Help.ContentType" content="Reference" /><meta name="BrandingAware" content="'true'" /><meta name="container" content="log4net.Plugin" /><meta name="file" content="Methods_T_log4net_Plugin_PluginCollection" /><meta name="guid" content="Methods_T_log4net_Plugin_PluginCollection" /><link type="text/css" rel="stylesheet" href="ms-help://Hx/HxRuntime/HxLink.css" /><meta name="SelfBranded" content="true" /></head><body onload="onLoad()" class="primary-mtps-offline-document"><div class="OH_outerDiv"><div class="OH_outerContent"><table class="TitleTable"><tr><td class="OH_tdTitleColumn">PluginCollection Methods</td><td class="OH_tdRunningTitleColumn">Apache log4net™ SDK Documentation</td></tr></table><div id="mainSection"><div id="mainBody"><span class="introStyle"></span>The <a href="T_log4net_Plugin_PluginCollection.htm" target="">PluginCollection</a> type exposes the following members.<div class="OH_CollapsibleAreaRegion"><div class="OH_regiontitle">Methods</div><div class="OH_CollapsibleArea_HrDiv"><hr class="OH_CollapsibleArea_Hr" /></div></div><div class="OH_clear"></div><table id="memberList" class="members"><tr><th class="ps_iconColumn">
 
</th><th class="ps_nameColumn">Name</th><th class="ps_descriptionColumn">Description</th></tr><tr data="public;declared;notNetfw;"><td><img src="./../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="M_log4net_Plugin_PluginCollection_Add.htm" target="">Add</a></td><td><div class="summary">
Adds a <a href="T_log4net_Plugin_IPlugin.htm" target="">IPlugin</a> to the end of the <span class="code">PluginCollection</span>.
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="./../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="M_log4net_Plugin_PluginCollection_AddRange_2.htm" target="">AddRange(ICollection)</a></td><td><div class="summary">
Adds the elements of a <a href="T_log4net_Plugin_IPlugin.htm" target="">IPlugin</a> collection to the current <span class="code">PluginCollection</span>.
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="./../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="M_log4net_Plugin_PluginCollection_AddRange.htm" target="">AddRange(<span id="ID0EDABTBCAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EDABTBCAAAAA?vb=|cpp=array&lt;|cs=|fs=|nu=");
</script>IPlugin<span id="ID0EBABTBCAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EBABTBCAAAAA?vb=()|cpp=&gt;|cs=[]|fs=[]|nu=[]");
</script>)</a></td><td><div class="summary">
Adds the elements of a <a href="T_log4net_Plugin_IPlugin.htm" target="">IPlugin</a> array to the current <span class="code">PluginCollection</span>.
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="./../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="M_log4net_Plugin_PluginCollection_AddRange_1.htm" target="">AddRange(PluginCollection)</a></td><td><div class="summary">
Adds the elements of another <span class="code">PluginCollection</span> to the current <span class="code">PluginCollection</span>.
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="./../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="M_log4net_Plugin_PluginCollection_Clear.htm" target="">Clear</a></td><td><div class="summary">
Removes all elements from the <span class="code">PluginCollection</span>.
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="./../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="M_log4net_Plugin_PluginCollection_Clone.htm" target="">Clone</a></td><td><div class="summary">
Creates a shallow copy of the <a href="T_log4net_Plugin_PluginCollection.htm" target="">PluginCollection</a>.
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="./../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="M_log4net_Plugin_PluginCollection_Contains.htm" target="">Contains</a></td><td><div class="summary">
Determines whether a given <a href="T_log4net_Plugin_IPlugin.htm" target="">IPlugin</a> is in the <span class="code">PluginCollection</span>.
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="./../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="M_log4net_Plugin_PluginCollection_CopyTo.htm" target="">CopyTo(<span id="ID0EDABOBCAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EDABOBCAAAAA?vb=|cpp=array&lt;|cs=|fs=|nu=");
</script>IPlugin<span id="ID0EBABOBCAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EBABOBCAAAAA?vb=()|cpp=&gt;|cs=[]|fs=[]|nu=[]");
</script>)</a></td><td><div class="summary">
Copies the entire <span class="code">PluginCollection</span> to a one-dimensional
<a href="T_log4net_Plugin_IPlugin.htm" target="">IPlugin</a> array.
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="./../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="M_log4net_Plugin_PluginCollection_CopyTo_1.htm" target="">CopyTo(<span id="ID0EDABNBCAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EDABNBCAAAAA?vb=|cpp=array&lt;|cs=|fs=|nu=");
</script>IPlugin<span id="ID0EBABNBCAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EBABNBCAAAAA?vb=()|cpp=&gt;|cs=[]|fs=[]|nu=[]");
</script>, Int32)</a></td><td><div class="summary">
Copies the entire <span class="code">PluginCollection</span> to a one-dimensional
<a href="T_log4net_Plugin_IPlugin.htm" target="">IPlugin</a> array, starting at the specified index of the target array.
</div></td></tr><tr data="public;inherited;notNetfw;"><td><img src="./../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><img src="./../icons/online_icon.gif" class="OH_offlineIcon" alt="Online" title="Online" /><a href="http://msdn2.microsoft.com/en-us/library/bsc2ak47" target="_blank">Equals</a></td><td><div class="summary">
Determines whether the specified <img src="./../icons/online_icon.gif" class="OH_offlineIcon" alt="Online" title="Online" /><a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a> is equal to the current <img src="./../icons/online_icon.gif" class="OH_offlineIcon" alt="Online" title="Online" /><a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.
</div> (Inherited from <img src="./../icons/online_icon.gif" class="OH_offlineIcon" alt="Online" title="Online" /><a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.)</td></tr><tr data="protected;inherited;notNetfw;"><td><img src="./../icons/protmethod.gif" alt="Protected method" title="Protected method" /></td><td><img src="./../icons/online_icon.gif" class="OH_offlineIcon" alt="Online" title="Online" /><a href="http://msdn2.microsoft.com/en-us/library/4k87zsw7" target="_blank">Finalize</a></td><td><div class="summary">
Allows an <img src="./../icons/online_icon.gif" class="OH_offlineIcon" alt="Online" title="Online" /><a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a> to attempt to free resources and perform other cleanup operations before the <img src="./../icons/online_icon.gif" class="OH_offlineIcon" alt="Online" title="Online" /><a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a> is reclaimed by garbage collection.
</div> (Inherited from <img src="./../icons/online_icon.gif" class="OH_offlineIcon" alt="Online" title="Online" /><a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.)</td></tr><tr data="public;declared;notNetfw;"><td><img src="./../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="M_log4net_Plugin_PluginCollection_GetEnumerator.htm" target="">GetEnumerator</a></td><td><div class="summary">
Returns an enumerator that can iterate through the <span class="code">PluginCollection</span>.
</div></td></tr><tr data="public;inherited;notNetfw;"><td><img src="./../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><img src="./../icons/online_icon.gif" class="OH_offlineIcon" alt="Online" title="Online" /><a href="http://msdn2.microsoft.com/en-us/library/zdee4b3y" target="_blank">GetHashCode</a></td><td><div class="summary">
Serves as a hash function for a particular type.
</div> (Inherited from <img src="./../icons/online_icon.gif" class="OH_offlineIcon" alt="Online" title="Online" /><a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="./../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><img src="./../icons/online_icon.gif" class="OH_offlineIcon" alt="Online" title="Online" /><a href="http://msdn2.microsoft.com/en-us/library/dfwy45w9" target="_blank">GetType</a></td><td><div class="summary">
Gets the <img src="./../icons/online_icon.gif" class="OH_offlineIcon" alt="Online" title="Online" /><a href="http://msdn2.microsoft.com/en-us/library/42892f65" target="_blank">Type</a> of the current instance.
</div> (Inherited from <img src="./../icons/online_icon.gif" class="OH_offlineIcon" alt="Online" title="Online" /><a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.)</td></tr><tr data="public;declared;notNetfw;"><td><img src="./../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="M_log4net_Plugin_PluginCollection_IndexOf.htm" target="">IndexOf</a></td><td><div class="summary">
Returns the zero-based index of the first occurrence of a <a href="T_log4net_Plugin_IPlugin.htm" target="">IPlugin</a>
in the <span class="code">PluginCollection</span>.
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="./../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="M_log4net_Plugin_PluginCollection_Insert.htm" target="">Insert</a></td><td><div class="summary">
Inserts an element into the <span class="code">PluginCollection</span> at the specified index.
</div></td></tr><tr data="protected;inherited;notNetfw;"><td><img src="./../icons/protmethod.gif" alt="Protected method" title="Protected method" /></td><td><img src="./../icons/online_icon.gif" class="OH_offlineIcon" alt="Online" title="Online" /><a href="http://msdn2.microsoft.com/en-us/library/57ctke0a" target="_blank">MemberwiseClone</a></td><td><div class="summary">
Creates a shallow copy of the current <img src="./../icons/online_icon.gif" class="OH_offlineIcon" alt="Online" title="Online" /><a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.
</div> (Inherited from <img src="./../icons/online_icon.gif" class="OH_offlineIcon" alt="Online" title="Online" /><a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.)</td></tr><tr data="public;static;declared;notNetfw;"><td><img src="./../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="./../icons/static.gif" alt="Static member" title="Static member" /></td><td><a href="M_log4net_Plugin_PluginCollection_ReadOnly.htm" target="">ReadOnly</a></td><td><div class="summary">
Creates a read-only wrapper for a <span class="code">PluginCollection</span> instance.
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="./../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="M_log4net_Plugin_PluginCollection_Remove.htm" target="">Remove</a></td><td><div class="summary">
Removes the first occurrence of a specific <a href="T_log4net_Plugin_IPlugin.htm" target="">IPlugin</a> from the <span class="code">PluginCollection</span>.
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="./../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="M_log4net_Plugin_PluginCollection_RemoveAt.htm" target="">RemoveAt</a></td><td><div class="summary">
Removes the element at the specified index of the <span class="code">PluginCollection</span>.
</div></td></tr><tr data="public;inherited;notNetfw;"><td><img src="./../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><img src="./../icons/online_icon.gif" class="OH_offlineIcon" alt="Online" title="Online" /><a href="http://msdn2.microsoft.com/en-us/library/7bxwbwt2" target="_blank">ToString</a></td><td><div class="summary">
Returns a <img src="./../icons/online_icon.gif" class="OH_offlineIcon" alt="Online" title="Online" /><a href="http://msdn2.microsoft.com/en-us/library/s1wwdcbf" target="_blank">String</a> that represents the current <img src="./../icons/online_icon.gif" class="OH_offlineIcon" alt="Online" title="Online" /><a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.
</div> (Inherited from <img src="./../icons/online_icon.gif" class="OH_offlineIcon" alt="Online" title="Online" /><a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.)</td></tr><tr data="public;declared;notNetfw;"><td><img src="./../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="M_log4net_Plugin_PluginCollection_TrimToSize.htm" target="">TrimToSize</a></td><td><div class="summary">
Sets the capacity to the actual number of elements.
</div></td></tr></table><a href="#mainBody" target="">Back to Top</a><a name="seeAlsoSection"><!----></a><div class="OH_CollapsibleAreaRegion"><div class="OH_regiontitle">See Also</div><div class="OH_CollapsibleArea_HrDiv"><hr class="OH_CollapsibleArea_Hr" /></div></div><div class="OH_clear"></div><div class="seeAlsoStyle"><a href="T_log4net_Plugin_PluginCollection.htm" target="">PluginCollection Class</a></div><div class="seeAlsoStyle"><a href="N_log4net_Plugin.htm" target="">log4net.Plugin Namespace</a></div></div></div></div></div><div id="OH_footer" class="OH_footer"><p>Apache log4net, Apache and log4net are trademarks of The Apache Software Foundation.</p><p><a href="http://logging.apache.org/log4net/" target="_blank"><img src="./../icons/online_icon.gif" class="OH_offlineIcon" alt="Online" title="Online" /> 
Copyright 2004-2015 The Apache Software Foundation (http://logging.apache.org/log4net/)</a></p><div class="OH_feedbacklink"><a href="mailto:http://logging.apache.org/log4net/mail-lists.html?subject=Apache+log4net%e2%84%a2+SDK+Documentation+PluginCollection+Methods+100+EN-US&amp;body=Your%20feedback%20is%20used%20to%20improve%20the%20documentation%20and%20the%20product.%20Your%20e-mail%20address%20will%20not%20be%20used%20for%20any%20other%20purpose%20and%20is%20disposed%20of%20after%20the%20issue%20you%20report%20is%20resolved.%20While%20working%20to%20resolve%20the%20issue%20that%20you%20report%2c%20you%20may%20be%20contacted%20via%20e-mail%20to%20get%20further%20details%20or%20clarification%20on%20the%20feedback%20you%20sent.%20After%20the%20issue%20you%20report%20has%20been%20addressed%2c%20you%20may%20receive%20an%20e-mail%20to%20let%20you%20know%20that%20your%20feedback%20has%20been%20addressed.">Send Feedback</a> on this topic to http://logging.apache.org/log4net/mail-lists.html.</div></div></body></html>