ReadOnly Property

MSBuild

Gets or sets a value indicating file is read-only.


Namespace: MSBuild.Community.Tasks
Assembly: MSBuild.Community.Tasks (in MSBuild.Community.Tasks.dll)

Syntax

Visual Basic (Declaration)
Public Property ReadOnly As Boolean
C#
public bool ReadOnly { get; set; }
C++
public property bool ReadOnly sealed  {
    bool get();
    void set(bool value);
}
J#
/** property */
public bool get_ReadOnly();

/** property */
public void set_ReadOnly(bool value);
JScript
public function get ReadOnly() : bool

public function set ReadOnly(value : bool);

Property Value

true if read-only; otherwise, false.

See Also

Syntax based on .NET Framework version 2.0.
Documentation version 1.0.0.0.