AssemblyReferenceCollection.Add Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
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)
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.