次の方法で共有


CodeTypeRef2.CodeType Property

Definition

Gets or sets information describing what kind of CodeTypeRef object this item is.

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.

Implements

Attributes

Remarks

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.

Applies to