AssemblyReferenceCollection.Find 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.
Finds an assembly reference in the collection by the specified assembly identity.
Overloads
Find(AssemblyIdentity) |
Finds an assembly reference in the collection by the specified assembly identity. |
Find(String) |
Finds an assembly reference in the collection by simple name. |
Find(AssemblyIdentity)
Finds an assembly reference in the collection by the specified assembly identity.
public:
Microsoft::Build::Tasks::Deployment::ManifestUtilities::AssemblyReference ^ Find(Microsoft::Build::Tasks::Deployment::ManifestUtilities::AssemblyIdentity ^ identity);
public Microsoft.Build.Tasks.Deployment.ManifestUtilities.AssemblyReference Find (Microsoft.Build.Tasks.Deployment.ManifestUtilities.AssemblyIdentity identity);
member this.Find : Microsoft.Build.Tasks.Deployment.ManifestUtilities.AssemblyIdentity -> Microsoft.Build.Tasks.Deployment.ManifestUtilities.AssemblyReference
Public Function Find (identity As AssemblyIdentity) As AssemblyReference
Parameters
- identity
- AssemblyIdentity
The specified assembly identity.
Returns
The found assembly reference.
Applies to
Find(String)
Finds an assembly reference in the collection by simple name.
public:
Microsoft::Build::Tasks::Deployment::ManifestUtilities::AssemblyReference ^ Find(System::String ^ name);
public Microsoft.Build.Tasks.Deployment.ManifestUtilities.AssemblyReference Find (string name);
member this.Find : string -> Microsoft.Build.Tasks.Deployment.ManifestUtilities.AssemblyReference
Public Function Find (name As String) As AssemblyReference
Parameters
- name
- String
The specified assembly simple name.
Returns
The found assembly reference.