VCReferences Interface
A collection of VCReference objects, each representing a reference in the project.
Namespace: Microsoft.VisualStudio.VCProjectEngine
Assembly: Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
Syntax
'Declaration
<GuidAttribute("597D1495-1811-4462-9390-82C8EBBBD8A7")> _
Public Interface VCReferences _
Inherits VCProjectItem, IEnumerable
[GuidAttribute("597D1495-1811-4462-9390-82C8EBBBD8A7")]
public interface VCReferences : VCProjectItem,
IEnumerable
[GuidAttribute(L"597D1495-1811-4462-9390-82C8EBBBD8A7")]
public interface class VCReferences : VCProjectItem,
IEnumerable
[<GuidAttribute("597D1495-1811-4462-9390-82C8EBBBD8A7")>]
type VCReferences =
interface
interface VCProjectItem
interface IEnumerable
end
public interface VCReferences extends VCProjectItem, IEnumerable
The VCReferences type exposes the following members.
Properties
Name | Description | |
---|---|---|
Count | Gets the number of VCReference objects in the VCReferences collection. | |
ItemName | Gets the name of the current item in the collection. | |
Kind | Gets an enumeration indicating the type of object. | |
Parent | Gets the immediate parent object of a given object. | |
project | Gets the project that contains these references. | |
References | Gets the collection of project references. | |
VCProjectEngine | Gets a pointer to the project engine. |
Top
Methods
Name | Description | |
---|---|---|
AddActiveXReference | Adds an ActiveX (COM) reference to the project. | |
AddActiveXReferenceEx | Adds an ActiveX (COM) reference to the project. | |
AddAssemblyReference | Adds an assembly (.NET) reference to the selected project. | |
AddAssemblyReferenceWithStrongName | Adds an assembly (.NET) reference to the selected project using its strong name. | |
AddAssemblyReferenceWithStrongNameEx | Adds an assembly (.NET) reference to the selected project using its strong name. | |
AddProjectReference | Adds a project reference to the project. | |
AddProjectReferenceByIdentifier | Adds an assembly (.NET) reference to the selected project using its unique identifier. | |
AddProjectReferenceByIdentifierEx | Adds an assembly (.NET) reference to the selected project using its unique identifier. | |
AddReferenceToFile | Adds a reference to a file. | |
AddReferenceToFileEx | Adds a reference to a file. | |
AddSdkReference | ||
AddWinRTReference | ||
CanAddActiveXReference | Returns a value indicating whether to add the given ActiveX (COM) reference. | |
CanAddAssemblyReference | Returns a value indicating whether to add the given assembly (.NET) reference. | |
CanAddAssemblyReferenceWithStrongName | Returns a value indicating whether to add the given assembly (.NET) reference by refering to it by its strong name. | |
CanAddProjectReference | Returns a value indicating whether to add the given project reference. | |
CanAddProjectReferenceByIdentifier | Returns a value indicating whether to add the given project reference by refering to it by its unique identifier. | |
CanAddReferenceToFile | Returns a value indicating whether to add the given file reference. | |
CanAddSdkReference | ||
CanAddWinRTReference | ||
GetEnumerator | Returns an enumerator for items in the VCReferences collection. | |
GetReferencesOfType | ||
Item | Selects an item in the collection. | |
MatchName | Matches a specified name to the name of a collection item. | |
RemoveReference | Removes the specified reference from the project or references collection. |
Top