Udostępnij za pośrednictwem


VCReferences Members

Include Protected Members
Include Inherited Members

A collection of VCReference objects, each representing a reference in the project.

The VCReferences type exposes the following members.

Methods

 

Name

Description

Public method

AddActiveXReference

Adds an ActiveX (COM) reference to the project.

Public method

AddAssemblyReference

Adds an assembly (.NET) reference to the selected project.

Public method

AddAssemblyReferenceWithStrongName

Adds an assembly (.NET) reference to the selected project using its strong name.

Public method

AddProjectReference

Adds a project reference to the project.

Public method

AddProjectReferenceByIdentifier

Adds an assembly (.NET) reference to the selected project using its unique identifier.

Public method

AddReferenceToFile

Adds a reference to a file.

Public method

CanAddActiveXReference

Returns a value indicating whether to add the given ActiveX (COM) reference.

Public method

CanAddAssemblyReference

Returns a value indicating whether to add the given assembly (.NET) reference.

Public method

CanAddAssemblyReferenceWithStrongName

Returns a value indicating whether to add the given assembly (.NET) reference by refering to it by its strong name.

Public method

CanAddProjectReference

Returns a value indicating whether to add the given project reference.

Public method

CanAddProjectReferenceByIdentifier

Returns a value indicating whether to add the given project reference by refering to it by its unique identifier.

Public method

CanAddReferenceToFile

Returns a value indicating whether to add the given file reference.

Public method

GetEnumerator

Overloaded.

Public method

Item

Selects an item in the collection.

Public method

MatchName

Overloaded.

Public method

RemoveReference

Removes the specified reference from the project or references collection.

Top

Properties

 

Name

Description

Public property

Count

Gets the number of VCReference objects in the VCReferences collection.

Public property

ItemName

Overloaded.

Public property

Kind

Overloaded.

Public property

Parent

Overloaded.

Public property

project

Overloaded.

Public property

References

Gets the collection of project references.

Public property

VCProjectEngine

Overloaded.

Top

See Also

Reference

VCReferences Interface

Microsoft.VisualStudio.VCProjectEngine Namespace