共用方式為


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

'宣告
Public ReadOnly Property GenerateDesignTimeSource As Boolean
public bool GenerateDesignTimeSource { get; }

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

Microsoft.VisualStudio.Shell.Design.Serialization Namespace