Dela via


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

'Declaration
Property Getter As CodeFunction
'Usage
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: EnvDTE.CodeFunction
A CodeFunction object.

Remarks

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

Note

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

.NET Framework Security

See Also

Reference

VCCodeProperty Interface

VCCodeProperty Members

Microsoft.VisualStudio.VCCodeModel Namespace

Other Resources

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