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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Concepts
How to: Compile and Run the Automation Object Model Code Examples