Share via


AssemblyReferences Constructor (IEnumerable<AssemblyName>)

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the AssemblyReferences class with the specified set of references.

Namespace:  Microsoft.Windows.Design
Assembly:  Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)

Syntax

'Declaration
Public Sub New ( _
    newReferences As IEnumerable(Of AssemblyName) _
)
public AssemblyReferences(
    IEnumerable<AssemblyName> newReferences
)
public:
AssemblyReferences(
    IEnumerable<AssemblyName^>^ newReferences
)
new : 
        newReferences:IEnumerable<AssemblyName> -> AssemblyReferences
public function AssemblyReferences(
    newReferences : IEnumerable<AssemblyName>
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

newReferences is nulla null reference (Nothing in Visual Basic), or if one of the values in the array is nulla null reference (Nothing in Visual Basic).

Remarks

When this object is added to an editing context, it will merge itself with any existing references in the context.

.NET Framework Security

See Also

Reference

AssemblyReferences Class

AssemblyReferences Overload

Microsoft.Windows.Design Namespace

Other Resources

WPF Designer Extensibility