Partager via


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

'Declaration
Property IsTrivial As Boolean
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