次の方法で共有


AssemblyReferenceCollection.Add Method

Definition

Adds the specified assembly reference to the collection.

Overloads

Add(AssemblyReference)

Adds the specified assembly reference to the collection.

Add(String)

Adds the specified assembly reference to the collection.

Add(AssemblyReference)

Source:
AssemblyReferenceCollection.cs

Adds the specified assembly reference to the collection.

public:
 Microsoft::Build::Tasks::Deployment::ManifestUtilities::AssemblyReference ^ Add(Microsoft::Build::Tasks::Deployment::ManifestUtilities::AssemblyReference ^ assembly);
public Microsoft.Build.Tasks.Deployment.ManifestUtilities.AssemblyReference Add (Microsoft.Build.Tasks.Deployment.ManifestUtilities.AssemblyReference assembly);
member this.Add : Microsoft.Build.Tasks.Deployment.ManifestUtilities.AssemblyReference -> Microsoft.Build.Tasks.Deployment.ManifestUtilities.AssemblyReference
Public Function Add (assembly As AssemblyReference) As AssemblyReference

Parameters

assembly
AssemblyReference

The specified assembly reference to add.

Returns

The added assembly reference instance.

Applies to

Add(String)

Source:
AssemblyReferenceCollection.cs

Adds the specified assembly reference to the collection.

public:
 Microsoft::Build::Tasks::Deployment::ManifestUtilities::AssemblyReference ^ Add(System::String ^ path);
public Microsoft.Build.Tasks.Deployment.ManifestUtilities.AssemblyReference Add (string path);
member this.Add : string -> Microsoft.Build.Tasks.Deployment.ManifestUtilities.AssemblyReference
Public Function Add (path As String) As AssemblyReference

Parameters

path
String

The specified assembly reference to add.

Returns

The added assembly reference instance.

Applies to