IsCodeFileRequestEventArgs.BuildAction Property
Gets or sets the build action.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Public Property BuildAction As String
public string BuildAction { get; set; }
public:
property String^ BuildAction {
String^ get ();
void set (String^ value);
}
member BuildAction : string with get, set
function get BuildAction () : String
function set BuildAction (value : String)
Property Value
Type: System.String
Remarks
Any database code file has a build action of InBuild. Any noncode file has a default build action of NotInBuild. You can use this property to change the build action for this file if it is a noncode file. When you set this field, it also affects IsCodeFile.
.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
IsCodeFileRequestEventArgs Class
Microsoft.VisualStudio.Data.Schema.Package.Project Namespace