次の方法で共有


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

'宣言
ReadOnly Property IsReadOnly As Boolean
bool IsReadOnly { get; }

Property Value

Type: System.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

IsReadOnly Overload

Microsoft.VisualStudio.ManagedInterfaces.Publish Namespace