[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Adds an item to the collection by specifying an alias (name) and value for the item to add. Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

Visual Basic
Dim instance As ManagementPackReferenceCollection
Dim alias As String
Dim value As ManagementPackReference

instance.Add(alias, value)

Syntax

Visual Basic
Public Sub Add ( _
		alias As String, _
		value As ManagementPackReference _
)
C#
public void Add (
		string alias,
		ManagementPackReference value
)
C++
public:
virtual void Add (
		String^ alias, 
		ManagementPackReference^ value
) sealed
J#
public final void Add (
		String alias, 
		ManagementPackReference value
)
JScript
public final function Add (
		alias : String, 
		value : ManagementPackReference
)

Parameters

alias

The alias (name) of the item to add.

value

The value of the item to add.

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.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003

See Also