Freigeben über


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

See Also

Reference

IPublishFile2 Interface

Microsoft.VisualStudio.ManagedInterfaces.Publish Namespace