Partager via


VSCOMPONENTSELECTORDATA Structure

Stores selection attributes for a component.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Public Structure VSCOMPONENTSELECTORDATA
public struct VSCOMPONENTSELECTORDATA
public value class VSCOMPONENTSELECTORDATA
[<Sealed>]
type VSCOMPONENTSELECTORDATA =  struct end
JScript supports the use of structures, but not the declaration of new ones.

The VSCOMPONENTSELECTORDATA type exposes the following members.

Methods

  Name Description
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from ValueType.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Fields

  Name Description
Public field bstrFile String containing the full path to component file.
Public field bstrProjRef String containing the project reference.
Public field bstrTitle String containing the human-readable name of component (not identity information).
Public field dwSize DWORD containing the size of VSCOMPONENTSELECTORDATA.
Public field guidTypeLibrary GUID specifying the type library.
Public field lcidTypeLibrary Specifies the locale of the library.
Public field lCustom DWORD containing custom information.
Public field type Specifies the component type. Values are taken from the VSCOMPONENTTYPE enumeration.
Public field wFileBuildNumber Contains the file's build number.
Public field wFileMajorVersion Contains the file's major version number.
Public field wFileMinorVersion Contains the file's minor version number.
Public field wFileRevisionNumber Contains the file's build revision number.
Public field wTypeLibraryMajorVersion Contains the type library's major version number.
Public field wTypeLibraryMinorVersion Contains the type library's minor version number.

Top

Remarks

The following members are optional:

wFileMajorVersion

wFileMinorVersion

wFileRevisionNumber

wFileBuildNumber

guidTypeLibrary

wTypeLibraryMajorVersion

wTypeLibraryMinorVersion

lcidTypeLibrary

The bstrProjRef project reference string is obtained from a call to GetProjrefOfProject

The lCustom member can contain any custom data.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace