public int IsReadOnly(VSTASKFIELD field, out int pfReadOnly) { switch (field) { case VSTASKFIELD.FLD_CHECKED: pfReadOnly = IsCheckedIsReadOnly ? 1 : 0; break; case VSTASKFIELD.FLD_DESCRIPTION: pfReadOnly = MessageIsReadOnly ? 1 : 0; break; case VSTASKFIELD.FLD_PRIORITY: pfReadOnly = PriorityIsReadOnly ? 1 : 0; break; case VSTASKFIELD.FLD_BITMAP: case VSTASKFIELD.FLD_CATEGORY: case VSTASKFIELD.FLD_COLUMN: case VSTASKFIELD.FLD_CUSTOM: case VSTASKFIELD.FLD_FILE: case VSTASKFIELD.FLD_LINE: case VSTASKFIELD.FLD_PROVIDERKNOWSORDER: case VSTASKFIELD.FLD_SUBCATEGORY: default: pfReadOnly = 1; break; } return(VSConstants.S_OK); }
public int IsReadOnly(VSTASKFIELD field, out int pfReadOnly) { switch (field) { case VSTASKFIELD.FLD_CHECKED: pfReadOnly = 0; break; case VSTASKFIELD.FLD_PRIORITY: pfReadOnly = 0; break; default: pfReadOnly = 1; break; } return(0); }
/// <include file='doc\Task.uex' path='docs/doc[@for="Task.IVsTaskItem.IsReadOnly"]/*' /> /// <internalonly/> int IVsTaskItem.IsReadOnly(VSTASKFIELD field, out int fReadOnly) { bool readOnly = true; switch (field) { case VSTASKFIELD.FLD_CHECKED: readOnly = !IsCheckedEditable; break; case VSTASKFIELD.FLD_PRIORITY: readOnly = !IsPriorityEditable; break; case VSTASKFIELD.FLD_DESCRIPTION: readOnly = !IsTextEditable; break; } fReadOnly = (readOnly) ? 1 : 0; return(NativeMethods.S_OK); }
public virtual int IsReadOnly(VSTASKFIELD field, out int pfReadOnly) { pfReadOnly = 1; return(VSConstants.S_OK); }
public virtual void IsReadOnly(VSTASKFIELD field, out int fReadOnly){ // this.readOnly ? fReadOnly = 1; // yep }
public virtual void IsReadOnly(VSTASKFIELD field, out int fReadOnly) { // this.readOnly ? fReadOnly = 1; // yep }
public int IsReadOnly(VSTASKFIELD field, out int pfReadOnly) { pfReadOnly = 1; // TRUE return(0); }
public int IsReadOnly(VSTASKFIELD field, out int pfReadOnly) { pfReadOnly = 1; // TRUE return 0; }
int IVsTaskItem.IsReadOnly(VSTASKFIELD field, out int pfReadOnly) { pfReadOnly = 1; return(VSConstants.S_OK); }
/// <include file='doc\Task.uex' path='docs/doc[@for="Task.IVsTaskItem.IsReadOnly"]/*' /> /// <internalonly/> int IVsTaskItem.IsReadOnly(VSTASKFIELD field, out int fReadOnly) { bool readOnly = true; switch(field) { case VSTASKFIELD.FLD_CHECKED: readOnly = !IsCheckedEditable; break; case VSTASKFIELD.FLD_PRIORITY: readOnly = !IsPriorityEditable; break; case VSTASKFIELD.FLD_DESCRIPTION: readOnly = !IsTextEditable; break; } fReadOnly = (readOnly) ? 1 : 0; return NativeMethods.S_OK; }
public virtual int IsReadOnly(VSTASKFIELD field, out int fReadOnly) { fReadOnly = 1; // yep return(0); }
public int IsReadOnly([ComAliasName("Microsoft.VisualStudio.Shell.Interop.VSTASKFIELD")] VSTASKFIELD field, [ComAliasName("Microsoft.VisualStudio.OLE.Interop.BOOL")] out int pfReadOnly) { pfReadOnly = _isReadOnly ? 1 : 0; return(VSConstants.S_OK); }
public virtual int IsReadOnly(VSTASKFIELD field, out int fReadOnly){ fReadOnly = 1; // yep return 0; }
public int IsReadOnly(VSTASKFIELD field, out int pfReadOnly) { switch (field) { case VSTASKFIELD.FLD_CHECKED: pfReadOnly = 0; break; case VSTASKFIELD.FLD_PRIORITY: pfReadOnly = 0; break; default: pfReadOnly = 1; break; } return 0; }
public int IsReadOnly(VSTASKFIELD field, out int pfReadOnly) { pfReadOnly = 1; return VSConstants.S_OK; }