Task::IVsTaskItem::IsReadOnly Method (VSTASKFIELD, Int32)

 

Determines whether or not the specified task field is read-only.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

private:
virtual int IsReadOnly(
	VSTASKFIELD field,
	[OutAttribute] int% fReadOnly
) sealed = IVsTaskItem::IsReadOnly

Parameters

field
Type: Microsoft.VisualStudio.Shell.Interop::VSTASKFIELD

The VSTASKFIELD.

fReadOnly
Type: System::Int32

[out] Returns true if the field is read-only, otherwise false.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Return to top
Show: