Metoda IVsTaskItem3.GetColumnValue — (Int32, UInt32, UInt32, Object, String)
Zwraca wartość to zadanie dla danej kolumny.
Przestrzeń nazw: Microsoft.VisualStudio.Shell.Interop
Zestaw: Microsoft.VisualStudio.Shell.Interop.8.0 (w Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Składnia
int GetColumnValue(
int iField,
out uint ptvtType,
out uint ptvfFlags,
out object pvarValue,
out string pbstrAccessibilityName
)
int GetColumnValue(
int iField,
[OutAttribute] unsigned int% ptvtType,
[OutAttribute] unsigned int% ptvfFlags,
[OutAttribute] Object^% pvarValue,
[OutAttribute] String^% pbstrAccessibilityName
)
abstract GetColumnValue :
iField:int *
ptvtType:uint32 byref *
ptvfFlags:uint32 byref *
pvarValue:Object byref *
pbstrAccessibilityName:string byref -> int
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
Parametry
iField
Type: System.Int32[in] Liczba całkowita zawierająca kolumnie pole ma być używany.
ptvtType
Type: System.UInt32[out] Wskaźnik do obiektu typu __VSTASKVALUETYPE.
ptvfFlags
Type: System.UInt32[out] Wskaźnik do obiektu typu __VSTASKVALUEFLAGS.
pvarValue
Type: System.Object[out] Wskaźnik do obiektu typu VARIANT.
pbstrAccessibilityName
Type: System.String[out] Wskaźnik do ciągu zawierającego nazwę ułatwień dostępu.
Wartość zwracana
Type: System.Int32
Jeśli metoda zakończy się pomyślnie, zwraca S_OK. Jeśli nie, zwraca kod błędu.
Uwagi
Podpis COM
Z vsshell80.idl:
HRESULT IVsTaskItem3::GetColumnValue(
[in] int iField,
[out] VSTASKVALUETYPE* ptvtType,
[out] VSTASKVALUEFLAGS* ptvfFlags,
[out] VARIANT* pvarValue,
[out] BSTR* pbstrAccessibilityName
);
Zobacz też
Interfejs IVsTaskItem3
Przestrzeń nazw Microsoft.VisualStudio.Shell.Interop
Powrót do początku