Share via


AssemblyReferences Constructor (AssemblyName, 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 local assembly name and set of references.

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

Syntax

'Declaration
Public Sub New ( _
    localAssemblyName As AssemblyName, _
    newReferences As IEnumerable(Of AssemblyName) _
)
public AssemblyReferences(
    AssemblyName localAssemblyName,
    IEnumerable<AssemblyName> newReferences
)
public:
AssemblyReferences(
    AssemblyName^ localAssemblyName, 
    IEnumerable<AssemblyName^>^ newReferences
)
new : 
        localAssemblyName:AssemblyName * 
        newReferences:IEnumerable<AssemblyName> -> AssemblyReferences
public function AssemblyReferences(
    localAssemblyName : AssemblyName, 
    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