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
用法
Dim instance As VCCodeProperty
Dim value As CodeFunction

value = instance.Getter

instance.Getter = value
CodeFunction Getter { get; set; }
property CodeFunction^ Getter {
    CodeFunction^ get ();
    void set (CodeFunction^ value);
}
function get Getter () : CodeFunction
function set Getter (value : CodeFunction)

Property Value

Type: 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.

Permissions

See Also

Concepts

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

Reference

VCCodeProperty Interface

VCCodeProperty Members

Microsoft.VisualStudio.VCCodeModel Namespace