Compartilhar via


DefinitionBucket Constructor

Definition

Constructor for an instance an instance of IEntryBucket that is displayed using a string.

public DefinitionBucket (string name, string sourceTypeIdentifier, string identifier, object tooltip = default, StringComparer comparer = default, bool expandedByDefault = true);
new Microsoft.VisualStudio.Shell.FindAllReferences.DefinitionBucket : string * string * string * obj * StringComparer * bool -> Microsoft.VisualStudio.Shell.FindAllReferences.DefinitionBucket
Public Sub New (name As String, sourceTypeIdentifier As String, identifier As String, Optional tooltip As Object = Nothing, Optional comparer As StringComparer = Nothing, Optional expandedByDefault As Boolean = true)

Parameters

name
String

Localized name used to display the group header.

sourceTypeIdentifier
String

Name used as the SourceTypeIdentifier when finding ITableControlEventProcessor to raise events when the user interacts with the bucket.

identifier
String

Name used as the Identifier when finding ITableControlEventProcessor to raise events when the user interacts with the bucket.

tooltip
Object

ToolTip to be displayed over the group's header (can be null).

comparer
StringComparer

String comparison used to compare two different groups.

expandedByDefault
Boolean

Whether this bucket is initially expanded.

Applies to