Task.IVsTaskItem.IsReadOnly(VSTASKFIELD, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether or not the specified task field is read-only.
virtual int Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.IsReadOnly(Microsoft::VisualStudio::Shell::Interop::VSTASKFIELD field, [Runtime::InteropServices::Out] int % fReadOnly) = Microsoft::VisualStudio::Shell::Interop::IVsTaskItem::IsReadOnly;
int IVsTaskItem.IsReadOnly (Microsoft.VisualStudio.Shell.Interop.VSTASKFIELD field, out int fReadOnly);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.IsReadOnly : Microsoft.VisualStudio.Shell.Interop.VSTASKFIELD * int -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.IsReadOnly : Microsoft.VisualStudio.Shell.Interop.VSTASKFIELD * int -> int
Function IsReadOnly (field As VSTASKFIELD, ByRef fReadOnly As Integer) As Integer Implements IVsTaskItem.IsReadOnly
Parameters
- field
- VSTASKFIELD
The VSTASKFIELD.
- fReadOnly
- Int32
[out] Returns true
if the field is read-only, otherwise false
.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.