Export (0) Print
Expand All

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 VCReferences : VCProjectItem, 
	IEnumerable

The VCReferences type exposes the following members.

  NameDescription
Public propertyCountGets the number of VCReference objects in the VCReferences collection.
Public propertyItemNameGets the name of the current item in the collection.
Public propertyKindGets an enumeration indicating the type of object.
Public propertyParentGets the immediate parent object of a given object.
Public propertyprojectGets the project that contains these references.
Public propertyReferencesGets the collection of project references.
Public propertyVCProjectEngineGets a pointer to the project engine.
Top

  NameDescription
Public methodAddActiveXReferenceAdds an ActiveX (COM) reference to the project.
Public methodAddActiveXReferenceExAdds an ActiveX (COM) reference to the project.
Public methodAddAssemblyReferenceAdds an assembly (.NET) reference to the selected project.
Public methodAddAssemblyReferenceWithStrongNameAdds an assembly (.NET) reference to the selected project using its strong name.
Public methodAddAssemblyReferenceWithStrongNameExAdds an assembly (.NET) reference to the selected project using its strong name.
Public methodAddProjectReferenceAdds a project reference to the project.
Public methodAddProjectReferenceByIdentifierAdds an assembly (.NET) reference to the selected project using its unique identifier.
Public methodAddProjectReferenceByIdentifierExAdds an assembly (.NET) reference to the selected project using its unique identifier.
Public methodAddReferenceToFileAdds a reference to a file.
Public methodAddReferenceToFileExAdds a reference to a file.
Public methodAddSdkReference
Public methodAddWinRTReference
Public methodCanAddActiveXReferenceReturns a value indicating whether to add the given ActiveX (COM) reference.
Public methodCanAddAssemblyReferenceReturns a value indicating whether to add the given assembly (.NET) reference.
Public methodCanAddAssemblyReferenceWithStrongNameReturns a value indicating whether to add the given assembly (.NET) reference by refering to it by its strong name.
Public methodCanAddProjectReferenceReturns a value indicating whether to add the given project reference.
Public methodCanAddProjectReferenceByIdentifierReturns a value indicating whether to add the given project reference by refering to it by its unique identifier.
Public methodCanAddReferenceToFileReturns a value indicating whether to add the given file reference.
Public methodCanAddSdkReference
Public methodCanAddWinRTReference
Public methodGetEnumeratorReturns an enumerator for items in the VCReferences collection.
Public methodGetReferencesOfType
Public methodItemSelects an item in the collection.
Public methodMatchNameMatches a specified name to the name of a collection item.
Public methodRemoveReferenceRemoves the specified reference from the project or references collection.
Top
Show:
© 2014 Microsoft