Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets a value that specifies whether the code-behind file will be generated.
Namespace: Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.Interop
Assembly: Microsoft.VisualStudio.Tools.Applications.ProgrammingModel (in Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.dll)
Syntax
'Declaration
ReadOnly Property GenerateCode As Boolean
'Usage
Dim instance As IVstaHostItem
Dim value As Boolean
value = instance.GenerateCode
bool GenerateCode { get; }
property bool GenerateCode {
bool get ();
}
function get GenerateCode () : boolean
Property Value
Type: System.Boolean
true if the code-behind file will be generated; otherwise false.
Remarks
The default value is true. When code is not generated, it is the host's responsibility to use the EnvDTE.DTE class to generate the correct code-behind file.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.Interop Namespace