Compartir a través de


CodeTypeRef.CodeType Property

Definition

Sets or gets information describing this item's kind of CodeTypeRef object.

public:
 property EnvDTE::CodeType ^ CodeType { EnvDTE::CodeType ^ get(); void set(EnvDTE::CodeType ^ value); };
public:
 property EnvDTE::CodeType ^ CodeType { EnvDTE::CodeType ^ get(); void set(EnvDTE::CodeType ^ value); };
[System.Runtime.InteropServices.DispId(4)]
public EnvDTE.CodeType CodeType { [System.Runtime.InteropServices.DispId(4)] [System.Runtime.InteropServices.TypeLibFunc(1024)] get; [System.Runtime.InteropServices.DispId(4)] [System.Runtime.InteropServices.TypeLibFunc(1024)] set; }
[System.Runtime.InteropServices.DispId(4)]
public EnvDTE.CodeType CodeType { [System.Runtime.InteropServices.DispId(4)] get; [System.Runtime.InteropServices.DispId(4)] set; }
[<System.Runtime.InteropServices.DispId(4)>]
[<get: System.Runtime.InteropServices.DispId(4)>]
[<get: System.Runtime.InteropServices.TypeLibFunc(1024)>]
[<set: System.Runtime.InteropServices.DispId(4)>]
[<set: System.Runtime.InteropServices.TypeLibFunc(1024)>]
member this.CodeType : EnvDTE.CodeType with get, set
[<System.Runtime.InteropServices.DispId(4)>]
[<get: System.Runtime.InteropServices.DispId(4)>]
[<set: System.Runtime.InteropServices.DispId(4)>]
member this.CodeType : EnvDTE.CodeType with get, set
Public Property CodeType As CodeType

Property Value

A CodeType object.

Attributes

Remarks

CodeType returns the CodeType that this type reference represents if TypeKind is vsCMTypeRef.

Note

The values of code model elements such as classes, structs, functions, attributes, delegates, and so forth can be non-deterministic after making certain kinds of edits, meaning that their values cannot be relied upon to always remain the same. For more information, see the section Code Model Element Values Can Change in Discovering Code by Using the Code Model (Visual Basic).

Applies to