Freigeben über


VirtualTypeBuilder.MethodInfoCollection Class

Represents the collection of methods. This class cannot be inherited.

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Declaration
Public NotInheritable Class MethodInfoCollection _
    Inherits CollectionBase
'Usage
Dim instance As VirtualTypeBuilder.MethodInfoCollection
public sealed class MethodInfoCollection : CollectionBase
public ref class MethodInfoCollection sealed : public CollectionBase
[<SealedAttribute>]
type MethodInfoCollection =  
    class
        inherit CollectionBase
    end
public final class MethodInfoCollection extends CollectionBase

Remarks

Only MethodInfo objects should be added to this collection. VirtualTypeBuilder.MethodInfoCollection is nested inside of VirtualTypeBuilder due to its specific behavior related to virtual types.

Inheritance Hierarchy

System.Object
  System.Collections.CollectionBase
    Microsoft.VisualStudio.Shell.Design.VirtualTypeBuilder.MethodInfoCollection

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

VirtualTypeBuilder.MethodInfoCollection Members

Microsoft.VisualStudio.Shell.Design Namespace

VirtualTypeBuilder

System.Collections.CollectionBase