共用方式為


VCCodeProperty.Getter Property

Gets or sets an object defining the code to return a property.

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

Syntax

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

Property Value

Type: EnvDTE.CodeFunction
A CodeFunction object.

Remarks

Getter returns the code function, if any, that is the getter of this property.

注意

This property is read-only for code elements from Visual Basic source code.

.NET Framework Security

See Also

Reference

VCCodeProperty Interface

Microsoft.VisualStudio.VCCodeModel Namespace

Other Resources

How to: Compile and Run the Automation Object Model Code Examples