共用方式為


CodeGeneratorRegistrationAttribute.GeneratesDesignTimeSource Property

Gets or sets the GeneratesDesignTimeSource registry value.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Public Property GeneratesDesignTimeSource As Boolean
public bool GeneratesDesignTimeSource { get; set; }

Property Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

CodeGeneratorRegistrationAttribute Class

Microsoft.VisualStudio.Shell Namespace