VCReference Interface

 

Represents a reference in the project.

Namespace:   Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

[<GuidAttribute("DADFB59B-2C43-4743-B40E-38EA666147EF")>]
type VCReference = 
    interface
        interface VCProjectItem
    end

NameDescription
System_CAPS_pubpropertyAssemblyName

Gets the assembly name for this project.

System_CAPS_pubpropertyBuildNumber

The build number of the referenced assembly.

System_CAPS_pubpropertyCopyLocal

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

System_CAPS_pubpropertyCopyLocalDependencies

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.

System_CAPS_pubpropertyCopyLocalSatelliteAssemblies

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.

System_CAPS_pubpropertyCulture

Gets the culture for the selected reference.

System_CAPS_pubpropertyDescription

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

System_CAPS_pubpropertyFullPath

Gets the full path to the referenced assembly.

System_CAPS_pubpropertyIdentity

The identity of the referenced assembly.

System_CAPS_pubpropertyItemName

Gets the name of the current item in the collection.

System_CAPS_pubpropertyKind

Gets an enumeration indicating the type of object.

System_CAPS_pubpropertyLabel

Gets the display name of the referenced assembly.

System_CAPS_pubpropertymajorVersion

Gets the major version of the referenced assembly.

System_CAPS_pubpropertyMinFrameworkVersion

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

System_CAPS_pubpropertyminorVersion

Gets the minor version of the referenced assembly.

System_CAPS_pubpropertyName

Gets or sets the name of the object.

System_CAPS_pubpropertyParent

Gets the immediate parent object of a given object.

System_CAPS_pubpropertyproject

Gets the VCProject associated with the object.

System_CAPS_pubpropertyPublicKeyToken

Gets the public key token for the referenced assembly.

System_CAPS_pubpropertyReference

Gets the reference associated with this configuration.

System_CAPS_pubpropertyRevisionNumber

Gets the revision number of the selected reference.

System_CAPS_pubpropertyStrongName

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

System_CAPS_pubpropertySubType

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft use only. Do not use.

System_CAPS_pubpropertyUseDependenciesInBuild

Sets or gets whether to use assemblies in a build.

System_CAPS_pubpropertyUseInBuild

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

System_CAPS_pubpropertyVCProjectEngine

Gets a pointer to the project engine.

System_CAPS_pubpropertyVCReferences

Gets the collection of references for the selected project.

System_CAPS_pubpropertyVersion

Gets the version of the selected reference.

NameDescription
System_CAPS_pubmethodMatchName(String, Boolean)

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

System_CAPS_pubmethodRemove()

Removes the specified project from the solution.

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.

Return to top
Show: