Reference3 Interface

 

Extends the Reference2 interface of the VSLangProj2 namespace.

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

[GuidAttribute("5021602E-2025-4299-88D2-0A92E8B41ADF")]
public interface class Reference3 : Reference2

NameDescription
System_CAPS_pubpropertyAliases

Gets or sets the aliased names for the specified reference. This property applies to Visual C# only.

System_CAPS_pubpropertyAutoReferenced

Gets whether the reference is automatically referenced by the compiler.

System_CAPS_pubpropertyBuildNumber

Gets the build number of the reference.

System_CAPS_pubpropertyCollection

Gets a collection of References.

System_CAPS_pubpropertyContainingProject

Gets the Project containing the reference.

System_CAPS_pubpropertyCopyLocal

Gets or sets whether the reference is copied to the local bin path.

System_CAPS_pubpropertyCulture

Gets the culture string of a reference.

System_CAPS_pubpropertyDescription

Gets a text description of the reference.

System_CAPS_pubpropertyDTE

Gets the top-level extensibility object.

System_CAPS_pubpropertyExtender[String^]

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.

System_CAPS_pubpropertyExtenderCATID

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.

System_CAPS_pubpropertyExtenderNames

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.

System_CAPS_pubpropertyIdentity

Gets the unique identifier of the reference.

System_CAPS_pubpropertyIsolated

Gets or sets whether the COM reference is isolated, that is, not registered with Windows.

System_CAPS_pubpropertyMajorVersion

Gets the major version number of the reference.

System_CAPS_pubpropertyMinorVersion

Gets the minor version number of the reference.

System_CAPS_pubpropertyName

Gets the name of the object.

System_CAPS_pubpropertyPath

Gets the path to the reference file.

System_CAPS_pubpropertyPublicKeyToken

Gets the public key token from a strongly signed reference.

System_CAPS_pubpropertyRefType

Gets the type of reference: assembly, COM, or native.

System_CAPS_pubpropertyResolved

Gets whether the current reference was resolved.

System_CAPS_pubpropertyRevisionNumber

Gets the revision number of the reference.

System_CAPS_pubpropertyRuntimeVersion

Gets the version of the runtime against which the reference was built. This is applicable only for .NET references.

System_CAPS_pubpropertySourceProject

Gets a Project object if the reference is a project. Otherwise, it returns Nothing (a null object).

System_CAPS_pubpropertySpecificVersion

Gets or sets whether only a specific version of the reference is used.

System_CAPS_pubpropertyStrongName

Gets whether the reference is signed with a public/private key pair.

System_CAPS_pubpropertySubType

Sets or Gets the assembly subtype.

System_CAPS_pubpropertyType

Obsolete. Included for backward compatibility only. Use RefType instead.

System_CAPS_pubpropertyVersion

Gets the version of the specified reference.

NameDescription
System_CAPS_pubmethodRemove()

Removes the reference from the References object that contains it.

Reference3 defines the following new parameters:

Aliases

AutoReferenced

Isolated

RefType

SpecificVersion

The following example adds two references to an open Visual Basic or Visual C# project. It then calls a function, GetRefTypeName, to display the reference type and calls a function, ReportReferences, to display additional reference properties. To run this example as an add-in, see How to: Compile and Run the Automation Object Model Code Examples.

The default paths for the added references are : <installation root>\Program Files\Microsoft.NET\Primary Interop Assemblies for adodb.dll, and <installation root>\Program Files\Common Files\SpeechEngines\Microsoft for spcommon.dll. Replace the <file path> in the example with these or other appropriate file paths.

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