Freigeben über


FileReferenceCollection.Add Method

Definition

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.

Applies to