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)

[GuidAttribute("C8559C2C-D97D-4893-A80A-63245A21EE12")]
public interface class VCReferences : VCProjectItem, IEnumerable

NameDescription
System_CAPS_pubpropertyCount

Gets the number of VCReference objects in the VCReferences collection.

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_pubpropertyParent

Gets the immediate parent object of a given object.

System_CAPS_pubpropertyproject

Gets the project that contains these references.

System_CAPS_pubpropertyReferences

Gets the collection of project references.

System_CAPS_pubpropertyVCProjectEngine

Gets a pointer to the project engine.

NameDescription
System_CAPS_pubmethodAddActiveXReference(String^, Int32, Int32, Int32, String^)

Adds an ActiveX (COM) reference to the project.

System_CAPS_pubmethodAddActiveXReferenceEx(String^, Int32, Int32, Int32, String^, Boolean)

Adds an ActiveX (COM) reference to the project.

System_CAPS_pubmethodAddAssemblyReference(String^)

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

System_CAPS_pubmethodAddAssemblyReferenceWithStrongName(String^, String^)

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

System_CAPS_pubmethodAddAssemblyReferenceWithStrongNameEx(String^, String^, Boolean)

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

System_CAPS_pubmethodAddProjectReference(Object^)

Adds a project reference to the project.

System_CAPS_pubmethodAddProjectReferenceByIdentifier(String^)

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

System_CAPS_pubmethodAddProjectReferenceByIdentifierEx(String^, Boolean)

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

System_CAPS_pubmethodAddReferenceToFile(String^)

Adds a reference to a file.

System_CAPS_pubmethodAddReferenceToFileEx(String^, Boolean)

Adds a reference to a file.

System_CAPS_pubmethodAddSdkReference(String^)

System_CAPS_pubmethodAddWinRTReference(String^)

System_CAPS_pubmethodCanAddActiveXReference(String^, Int32, Int32, Int32, String^)

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

System_CAPS_pubmethodCanAddAssemblyReference(String^)

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

System_CAPS_pubmethodCanAddAssemblyReferenceWithStrongName(String^, String^)

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

System_CAPS_pubmethodCanAddProjectReference(Object^)

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

System_CAPS_pubmethodCanAddProjectReferenceByIdentifier(String^)

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

System_CAPS_pubmethodCanAddReferenceToFile(String^)

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

System_CAPS_pubmethodCanAddSdkReference(String^)

System_CAPS_pubmethodCanAddWinRTReference(String^)

System_CAPS_pubmethodGetEnumerator()

Returns an enumerator for items in the VCReferences collection.

System_CAPS_pubmethodGetReferencesOfType(UInt32)

System_CAPS_pubmethodItem(Object^)

Selects an item in the collection.

System_CAPS_pubmethodMatchName(String^, Boolean)

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

System_CAPS_pubmethodRemoveReference(Object^)

Removes the specified reference from the project or references collection.

Return to top
Show: