Reference3::AutoReferenced Property

 

Gets whether the reference is automatically referenced by the compiler.

Namespace:   VSLangProj80
Assembly:  VSLangProj80 (in VSLangProj80.dll)

property bool AutoReferenced {
	bool get();
}

Property Value

Type: System::Boolean

A boolean value indicating whether the reference is auto-referenced.

Some references are automatically used by the compiler. For example, Visual Basic projects automatically reference MSCORLIB.dll and Microsoft.VisualBasic.dll.

This example iterates through references in an open Visual Basic or Visual C# project. It then determines whether they are auto reference or not. To run this example as an add-in, see How to: Compile and Run the Automation Object Model Code Examples.

No code example is currently available or this language may not be supported.
Return to top
Show: