IVsTaskItem3.GetColumnValue 方法

返回此任务的值特定列的。

命名空间:  Microsoft.VisualStudio.Shell.Interop
程序集:  Microsoft.VisualStudio.Shell.Interop.8.0(在 Microsoft.VisualStudio.Shell.Interop.8.0.dll 中)

语法

声明
Function GetColumnValue ( _
    iField As Integer, _
    <OutAttribute> ByRef ptvtType As UInteger, _
    <OutAttribute> ByRef ptvfFlags As UInteger, _
    <OutAttribute> ByRef pvarValue As Object, _
    <OutAttribute> ByRef pbstrAccessibilityName As String _
) As Integer
int GetColumnValue(
    int iField,
    out uint ptvtType,
    out uint ptvfFlags,
    out Object pvarValue,
    out string pbstrAccessibilityName
)

参数

  • iField
    类型:System.Int32
    [in] 包含字段列的整数是使用。
  • pvarValue
    类型:System.Object%
    [out] 一个指向类型的变量对象的指针。
  • pbstrAccessibilityName
    类型:System.String%
    [out] 一个指向包含辅助功能名称的字符串的指针。

返回值

类型:System.Int32
如果方法成功,则返回 S_OK。如果失败,它会返回一个错误代码。

备注

COM 签名

从 vsshell80.idl:

HRESULT IVsTaskItem3::GetColumnValue(
   [in] int iField, 
   [out] VSTASKVALUETYPE* ptvtType, 
   [out] VSTASKVALUEFLAGS* ptvfFlags, 
   [out] VARIANT* pvarValue, 
   [out] BSTR* pbstrAccessibilityName
);

.NET Framework 安全性

请参见

参考

IVsTaskItem3 接口

Microsoft.VisualStudio.Shell.Interop 命名空间