共用方式為


VCActiveXReference Interface

Definition

Represents a reference to an ActiveX object.

public interface class VCActiveXReference : Microsoft::VisualStudio::VCProjectEngine::VCReference
public interface class VCActiveXReference : Microsoft::VisualStudio::VCProjectEngine::VCReference
__interface VCActiveXReference : Microsoft::VisualStudio::VCProjectEngine::VCReference
[System.Runtime.InteropServices.Guid("0881DE5A-11DB-4CDD-AC10-2D36B5CBB2F1")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
public interface VCActiveXReference : Microsoft.VisualStudio.VCProjectEngine.VCReference
[<System.Runtime.InteropServices.Guid("0881DE5A-11DB-4CDD-AC10-2D36B5CBB2F1")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
type VCActiveXReference = interface
    interface VCReference
Public Interface VCActiveXReference
Implements VCReference
Attributes
Implements

Remarks

See Working with Project Properties for information about accessing a project's property pages dialog box.

Properties

AssemblyName

Gets or sets the name of the assembly.

BuildNumber

Gets the build number of the referenced assembly.

ControlFullPath

Gets the full path to the selected ActiveX control.

ControlGUID

Gets the GUID for the selected ActiveX reference.

ControlLocale

Gets the locale for the selected ActiveX reference.

ControlVersion

Gets the version for the selected ActiveX reference.

CopyLocal

Gets or sets a value indicating whether to automatically copy the reference to the target directory.

CopyLocalDependencies

Gets or sets a value indicating whether to automatically copy the referenced assembly's non-system dependencies to the target location during a build.

CopyLocalSatelliteAssemblies

Gets or sets a value indicating whether to automatically copy the referenced assembly's satellite assemblies to the target location during a build.

Culture

Gets the culture for the selected reference.

Description

Gets or sets a string that represents the description for the object or the use of the output group.

FullPath

Gets the full path of the project file.

GenerationErrorMessage

Microsoft Internal Use Only.

Identity

The identity of the referenced assembly.

ItemName

Gets the name of the current item in the collection.

Kind

Gets an enumeration indicating the type of object.

Label

Gets the display name of the referenced assembly.

majorVersion

Gets the major version of the referenced assembly.

MinFrameworkVersion

Gets the minimum version of the .NET Framework required by the project.

minorVersion

Gets the minor version of the referenced assembly.

Name

Gets the name of the object.

Parent

Gets the immediate parent object of a given object.

project

Returns the generic project object associated with the Visual Basic or Visual C# project.

PublicKeyToken

Gets the public key token for the referenced assembly.

Reference

Gets the reference associated with this configuration.

RevisionNumber

Gets the revision number of the selected reference.

StrongName

Gets a value indicating whether or not the selected reference has a strong name.

SubType

Gets or sets the file's subtype as understood by the designers.

TypeLibraryName

Gets the name of the ActiveX (COM) type library reference.

UseDependenciesInBuild

Gets or sets a value indicating whether the dependencies of this assembly are used in the build process.

UseInBuild

Gets or sets a value indicating whether the assembly is used in the build process.

VCProjectEngine

Gets a pointer object to the project engine.

VCReferences

Gets the collection of references for the selected project.

VCReferenceType
Version

Gets the version of the selected reference.

WrapperSuccessfullyGenerated

Microsoft Internal Use Only.

WrapperTool

Gets or sets the name of the tool to use when wrapping an ActiveX control reference.

Methods

MatchName(String, Boolean)

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

Remove()

Removes the specified project from the solution.

Applies to