Partager via


ProvideGeneratorAttribute.GenerateDesignTimeSource Property

Gets whether source code is generated for use at design time.

Namespace:  Microsoft.VisualStudio.Shell.Design.Serialization
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Déclaration
Public ReadOnly Property GenerateDesignTimeSource As Boolean
    Get
'Utilisation
Dim instance As ProvideGeneratorAttribute
Dim value As Boolean

value = instance.GenerateDesignTimeSource
public bool GenerateDesignTimeSource { get; }
public:
property bool GenerateDesignTimeSource {
    bool get ();
}
member GenerateDesignTimeSource : bool
function get GenerateDesignTimeSource () : boolean

Property Value

Type: System.Boolean
true if the associated code generator generates source code for use at design time, otherwise false.

.NET Framework Security

See Also

Reference

ProvideGeneratorAttribute Class

ProvideGeneratorAttribute Members

Microsoft.VisualStudio.Shell.Design.Serialization Namespace