VCReference VCReference VCReference VCReference Interface

Definition

Represents a reference in the project.

public interface class VCReference : Microsoft::VisualStudio::VCProjectEngine::VCProjectItem
[System.Runtime.InteropServices.Guid("FE124EB0-E13C-4C96-8C15-5B26669D5265")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDual | System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable)]
public interface VCReference : Microsoft.VisualStudio.VCProjectEngine.VCProjectItem
type VCReference = interface
    interface VCProjectItem
Public Interface VCReference
Implements VCProjectItem
Derived
Attributes
Implements

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.

Properties

AssemblyName AssemblyName AssemblyName AssemblyName

Gets the assembly name for this project.

BuildNumber BuildNumber BuildNumber BuildNumber

The build number of the referenced assembly.

CopyLocal CopyLocal CopyLocal CopyLocal

Gets or sets a value indicating whether to automatically copy the reference to the target directory.

CopyLocalDependencies CopyLocalDependencies CopyLocalDependencies CopyLocalDependencies

Microsoft Internal Use Only.

CopyLocalSatelliteAssemblies CopyLocalSatelliteAssemblies CopyLocalSatelliteAssemblies CopyLocalSatelliteAssemblies

Microsoft Internal Use Only.

Culture Culture Culture Culture

Gets the culture for the selected reference.

Description Description Description Description

Gets or sets a string that represents the description for the object.

FullPath FullPath FullPath FullPath

Gets the full path to the referenced assembly.

Identity Identity Identity Identity

The identity of the referenced assembly.

ItemName ItemName ItemName ItemName

Gets the name of the current item in the collection.

Kind Kind Kind Kind

Gets an enumeration indicating the type of object.

Label Label Label Label

Gets the display name of the referenced assembly.

majorVersion majorVersion majorVersion majorVersion

Gets the major version of the referenced assembly.

MinFrameworkVersion MinFrameworkVersion MinFrameworkVersion MinFrameworkVersion

Gets the minimum version of the .NET Framework required by the project.

minorVersion minorVersion minorVersion minorVersion

Gets the minor version of the referenced assembly.

Name Name Name Name

Gets or sets the name of the object.

Parent Parent Parent Parent

Gets the immediate parent object of a given object.

project project project project

Gets the VCProject associated with the object.

PublicKeyToken PublicKeyToken PublicKeyToken PublicKeyToken

Gets the public key token for the referenced assembly.

Reference Reference Reference Reference

Gets the reference associated with this configuration.

RevisionNumber RevisionNumber RevisionNumber RevisionNumber

Gets the revision number of the selected reference.

StrongName StrongName StrongName StrongName

Gets a value indicating whether or not the selected reference has a strong name.

SubType SubType SubType SubType

Microsoft use only. Do not use.

UseDependenciesInBuild UseDependenciesInBuild UseDependenciesInBuild UseDependenciesInBuild

Sets or gets whether to use assemblies in a build.

UseInBuild UseInBuild UseInBuild UseInBuild

Sets or gets whether referenced assemblies should be used in the build.

VCProjectEngine VCProjectEngine VCProjectEngine VCProjectEngine

Gets a pointer to the project engine.

VCReferences VCReferences VCReferences VCReferences

Gets the collection of references for the selected project.

VCReferenceType VCReferenceType VCReferenceType VCReferenceType
Version Version Version Version

Gets the version of the selected reference.

Methods

MatchName(String, Boolean) MatchName(String, Boolean) MatchName(String, Boolean) MatchName(String, Boolean)

Matches a specified name to the name of a collection item.

Remove() Remove() Remove() Remove()

Removes the specified project from the solution.

Applies to