FileReferenceCollection.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 file reference to the collection.
Overloads
Add(FileReference) |
Adds the specified assembly reference to the collection. |
Add(String) |
Adds the specified assembly reference to the collection. |
Add(FileReference)
- Source:
- FileReferenceCollection.cs
Adds the specified assembly reference to the collection.
public:
Microsoft::Build::Tasks::Deployment::ManifestUtilities::FileReference ^ Add(Microsoft::Build::Tasks::Deployment::ManifestUtilities::FileReference ^ file);
public Microsoft.Build.Tasks.Deployment.ManifestUtilities.FileReference Add (Microsoft.Build.Tasks.Deployment.ManifestUtilities.FileReference file);
member this.Add : Microsoft.Build.Tasks.Deployment.ManifestUtilities.FileReference -> Microsoft.Build.Tasks.Deployment.ManifestUtilities.FileReference
Public Function Add (file As FileReference) As FileReference
Parameters
- file
- FileReference
The specified file reference to add.
Returns
The added file reference instance.
Applies to
Add(String)
- Source:
- FileReferenceCollection.cs
Adds the specified assembly reference to the collection.
public:
Microsoft::Build::Tasks::Deployment::ManifestUtilities::FileReference ^ Add(System::String ^ path);
public Microsoft.Build.Tasks.Deployment.ManifestUtilities.FileReference Add (string path);
member this.Add : string -> Microsoft.Build.Tasks.Deployment.ManifestUtilities.FileReference
Public Function Add (path As String) As FileReference
Parameters
- path
- String
The specified file reference to add.
Returns
The added file reference instance.