Partilhar via


Task.IVsTaskItem.IsReadOnly(VSTASKFIELD, Int32) Method

Definition

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

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.

Implements

Applies to