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
- newReferences
Type: System.Collections.Generic.IEnumerable<AssemblyName>
The new set of references. This may not be nulla null reference (Nothing in Visual Basic) and it may not contain nulla null reference (Nothing in Visual Basic) values.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design Namespace