共用方式為


VCCodeVariable.Type Property

Gets or sets an object representing the programmatic type.

Namespace:  Microsoft.VisualStudio.VCCodeModel
Assembly:  Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)

Syntax

'宣告
Property Type As CodeTypeRef
    Get
    Set
CodeTypeRef Type { get; set; }
property CodeTypeRef^ Type {
    CodeTypeRef^ get ();
    void set (CodeTypeRef^ value);
}
abstract Type : CodeTypeRef with get, set
function get Type () : CodeTypeRef
function set Type (value : CodeTypeRef)

Property Value

Type: EnvDTE.CodeTypeRef
A CodeTypeRef object.

Remarks

Type may return Nothing or nulla null reference (Nothing in Visual Basic) for languages that have a notion of a default type.

.NET Framework Security

See Also

Reference

VCCodeVariable Interface

Microsoft.VisualStudio.VCCodeModel Namespace