Udostępnij za pośrednictwem


InstanceReferenceKind Enum

Definition

Kind of reference for an IInstanceReferenceOperation.

public enum class InstanceReferenceKind
public enum InstanceReferenceKind
type InstanceReferenceKind = 
Public Enum InstanceReferenceKind
Inheritance
InstanceReferenceKind

Fields

Name Value Description
ContainingTypeInstance 0

Reference to an instance of the containing type. Used for this and base in C# code, and Me, MyClass, MyBase in VB code.

ImplicitReceiver 1

Reference to the object being initialized in C# or VB object or collection initializer, anonymous type creation initializer, or to the object being referred to in a VB With statement, or the C# 'with' expression initializer.

PatternInput 2

Reference to the value being matching in a property subpattern.

InterpolatedStringHandler 3

Reference to the interpolated string handler instance created as part of a parent interpolated string handler conversion.

Applies to