Freigeben über


AssemblyObsoleteEventArgs Constructor (Assembly, array<Type )

Initializes a new instance of the AssemblyObsoleteEventArgs class.

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

Syntax

'Declaration
Public Sub New ( _
    assembly As Assembly, _
    types As Type() _
)
'Usage
Dim assembly As [Assembly]
Dim types As Type()

Dim instance As New AssemblyObsoleteEventArgs(assembly, _
    types)
public AssemblyObsoleteEventArgs(
    Assembly assembly,
    Type[] types
)
public:
AssemblyObsoleteEventArgs(
    Assembly^ assembly, 
    array<Type^>^ types
)
new : 
        assembly:Assembly * 
        types:Type[] -> AssemblyObsoleteEventArgs
public function AssemblyObsoleteEventArgs(
    assembly : Assembly, 
    types : Type[]
)

Parameters

  • types
    Type: array<System.Type[]
    An array of Type containing objects for all the types defined in this assembly.

Exceptions

Exception Condition
ArgumentNullException

assembly is nulla null reference (Nothing in Visual Basic).

-or-

types is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

AssemblyObsoleteEventArgs Class

AssemblyObsoleteEventArgs Members

AssemblyObsoleteEventArgs Overload

Microsoft.VisualStudio.Shell.Design Namespace