共用方式為


VCCodeProperty.IsTrivial Property

Gets or sets a value indicating whether the property is trivial.

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

Syntax

'宣告
Property IsTrivial As Boolean
    Get
    Set
bool IsTrivial { get; set; }
property bool IsTrivial {
    bool get ();
    void set (bool value);
}
abstract IsTrivial : bool with get, set
function get IsTrivial () : boolean
function set IsTrivial (value : boolean)

Property Value

Type: System.Boolean
true if the property is trivial; otherwise, false.

Remarks

A property is trivial if it is not user-defined. This means the getter, setter, and variable storage is generated by the compiler.

.NET Framework Security

See Also

Reference

VCCodeProperty Interface

Microsoft.VisualStudio.VCCodeModel Namespace