CodeTypeDeclaration.IsStruct Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets a value indicating whether the type is a value type (struct).

Namespace:   System.CodeDom
Assembly:  System (in System.dll)

public bool IsStruct { get; set; }

Property Value

Type: System.Boolean

true if the type is a value type; otherwise, false.

.NET Framework
Available since 1.1
Return to top