vb System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection.Contains类(方法)实例源码

下面列出了vb System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection.Contains 类(方法)源码代码实例,从而了解它的用法。

作者:VB.NET开发    项目:System.Web.Services.Descriptio   
' Check for 'myFormatExtension' object in collection.
If myCollection.Contains(myFormatExtensionObject) Then
   ' Get index of a 'myFormatExtension' object in collection.
   Console.WriteLine("Index of 'myFormatExtensionObject' is " + _
        "{0} in collection.", myCollection.IndexOf(myFormatExtensionObject).ToString())
   ' Remove 'myFormatExtensionObject' element from collection.
   myCollection.Remove(myFormatExtensionObject)
   Console.WriteLine("'myFormatExtensionObject' is removed" + _
        " from collection.")
End If


问题


面经


文章

微信
公众号

扫码关注公众号