共用方式為


VCCodeProperty.Setter Property

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

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

Syntax

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

Property Value

Type: EnvDTE.CodeFunction
A CodeFunction object.

Remarks

Setter returns the code function, if any, that is the setter of this property.

.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