Share via


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
'Usage
Dim instance As IPublishFile2 
Dim value As Boolean 

value = instance.IsReadOnly
bool IsReadOnly { get; }
property bool IsReadOnly {
    bool get ();
}
function get IsReadOnly () : boolean

Property Value

Type: System.Boolean
true if the file is required; otherwise, false.

Implements

IPublishFile.IsReadOnly

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

IPublishFile2 Members

IsReadOnly Overload

Microsoft.VisualStudio.ManagedInterfaces.Publish Namespace

Change History

Date

History

Reason

July 2008

Added topic.

SP1 feature change.