VCReference Interface
Represents a reference in the project.
Namespace: Microsoft.VisualStudio.VCProjectEngine
Assembly: Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
Syntax
'Declaration
<GuidAttribute("E303B117-E45B-41D7-97BE-C66F2E8386C5")> _
Public Interface VCReference _
Inherits VCProjectItem
[GuidAttribute("E303B117-E45B-41D7-97BE-C66F2E8386C5")]
public interface VCReference : VCProjectItem
[GuidAttribute(L"E303B117-E45B-41D7-97BE-C66F2E8386C5")]
public interface class VCReference : VCProjectItem
[<GuidAttribute("E303B117-E45B-41D7-97BE-C66F2E8386C5")>]
type VCReference =
interface
interface VCProjectItem
end
public interface VCReference extends VCProjectItem
The VCReference type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
AssemblyName | Gets the assembly name for this project. |
![]() |
BuildNumber | The build number of the referenced assembly. |
![]() |
CopyLocal | Gets or sets a value indicating whether to automatically copy the reference to the target directory. |
![]() |
CopyLocalDependencies | Infrastructure. Microsoft Internal Use Only. |
![]() |
CopyLocalSatelliteAssemblies | Infrastructure. Microsoft Internal Use Only. |
![]() |
Culture | Gets the culture for the selected reference. |
![]() |
Description | Gets or sets a string that represents the description for the object. |
![]() |
FullPath | Gets the full path to the referenced assembly. |
![]() |
Identity | The identity of the referenced assembly. |
![]() |
ItemName | Gets the name of the current item in the collection. (Inherited from VCProjectItem.) |
![]() |
ItemName | Gets the name of the current item in the collection. |
![]() |
Kind | Gets an enumeration indicating the type of object. (Inherited from VCProjectItem.) |
![]() |
Kind | Gets an enumeration indicating the type of object. |
![]() |
Label | Gets the display name of the referenced assembly. |
![]() |
majorVersion | Gets the major version of the referenced assembly. |
![]() |
MinFrameworkVersion | Gets the minimum version of the .NET Framework required by the project. |
![]() |
minorVersion | Gets the minor version of the referenced assembly. |
![]() |
Name | Gets or sets the name of the object. |
![]() |
Parent | Gets the immediate parent object of a given object. (Inherited from VCProjectItem.) |
![]() |
Parent | Gets the immediate parent object of a given object. |
![]() |
project | Gets the VCProject associated with the object. (Inherited from VCProjectItem.) |
![]() |
project | Gets the VCProject associated with the object. |
![]() |
PublicKeyToken | Gets the public key token for the referenced assembly. |
![]() |
Reference | Gets the reference associated with this configuration. |
![]() |
RevisionNumber | Gets the revision number of the selected reference. |
![]() |
StrongName | Gets a value indicating whether or not the selected reference has a strong name. |
![]() |
SubType | Infrastructure. Microsoft use only. Do not use. |
![]() |
UseDependenciesInBuild | Sets or gets whether to use assemblies in a build. |
![]() |
UseInBuild | Sets or gets whether referenced assemblies should be used in the build. |
![]() |
VCProjectEngine | Gets a pointer to the project engine. (Inherited from VCProjectItem.) |
![]() |
VCProjectEngine | Gets a pointer to the project engine. |
![]() |
VCReferences | Gets the collection of references for the selected project. |
![]() |
Version | Gets the version of the selected reference. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
MatchName(String, Boolean) | Matches a specified name to the name of a collection item. (Inherited from VCProjectItem.) |
![]() |
MatchName(String, Boolean) | Matches a specified name to the name of a collection item. |
![]() |
Remove | Removes the specified project from the solution. |
Top
Remarks
Visual C++ supports the following reference types:
.NET assemblies
Projects (.NET and non-.NET assemblies)
COM objects
Unlike Visual Basic and Visual C#, Visual C++ distinguishes between project references and assembly references, that is, Visual C++ supports non-.NET assembly project references.