MimePartCollection.Remove(MimePart) 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.
Removes the first occurrence of the specified MimePart from the MimePartCollection.
public:
void Remove(System::Web::Services::Description::MimePart ^ mimePart);
public void Remove (System.Web.Services.Description.MimePart mimePart);
member this.Remove : System.Web.Services.Description.MimePart -> unit
Public Sub Remove (mimePart As MimePart)
Parameters
Examples
The following example demonstrates a typical use of the Remove
method.
MimePartCollection_8#8
Remarks
This method performs a linear search; therefore, the average execution time is proportional to Count.
The elements that follow the removed MimePart
move up to occupy the vacated spot.
Applies to
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.