IPublishFile2.IsReadOnly Property
Gets a value that indicates whether the file is required.
Namespace: Microsoft.VisualStudio.ManagedInterfaces.Publish
Assembly: Microsoft.VisualStudio.ManagedInterfaces.9.0 (in Microsoft.VisualStudio.ManagedInterfaces.9.0.dll)
Syntax
'Declaration
ReadOnly Property IsReadOnly As Boolean
bool IsReadOnly { get; }
property bool IsReadOnly {
bool get ();
}
abstract IsReadOnly : bool with get
function get IsReadOnly () : boolean
Property Value
Type: Boolean
true if the file is required; otherwise, false.
Remarks
A required file cannot be excluded from the deployment, and its download group cannot be changed.
.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.