Udostępnij za pośrednictwem


CompletionStartData Struct

Definition

public value class CompletionStartData : IEquatable<Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::CompletionStartData>
[System.Diagnostics.DebuggerDisplay("{Participation}")]
public struct CompletionStartData : IEquatable<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionStartData>
[<System.Diagnostics.DebuggerDisplay("{Participation}")>]
type CompletionStartData = struct
Public Structure CompletionStartData
Implements IEquatable(Of CompletionStartData)
Inheritance
CompletionStartData
Attributes
Implements

Constructors

CompletionStartData(CompletionParticipation, SnapshotSpan)

Properties

ApplicableToSpan

Proposed location where completion will take place. Return default if this IAsyncCompletionSource is not capable of providing location, or completion is invalid for location in question.

DoesNotParticipateInCompletion

Value to use when IAsyncCompletionSource does not know the precise SnapshotSpan for completion, and does not want to participate in completion.

ParticipatesInCompletionIfAny

Value to use when IAsyncCompletionSource does not know the precise SnapshotSpan for completion, but wishes to participate in completion if language service can provide a valid SnapshotSpan.

Participation

Describes the level of IAsyncCompletionSource's participation in the IAsyncCompletionSession.

Methods

Equals(Object)
GetHashCode()

Operators

Equality(CompletionStartData, CompletionStartData)
Inequality(CompletionStartData, CompletionStartData)

Explicit Interface Implementations

IEquatable<CompletionStartData>.Equals(CompletionStartData)

Applies to