IVsUserContextItemProvider.PackedAttributeLookup Method
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'宣言
Function PackedAttributeLookup ( _
pwzRequired As String, _
pwzScope As String, _
<OutAttribute> ByRef pplist As IVsUserContextItemCollection _
) As Integer
'使用
Dim instance As IVsUserContextItemProvider
Dim pwzRequired As String
Dim pwzScope As String
Dim pplist As IVsUserContextItemCollection
Dim returnValue As Integer
returnValue = instance.PackedAttributeLookup(pwzRequired, _
pwzScope, pplist)
int PackedAttributeLookup(
string pwzRequired,
string pwzScope,
out IVsUserContextItemCollection pplist
)
int PackedAttributeLookup(
[InAttribute] String^ pwzRequired,
[InAttribute] String^ pwzScope,
[OutAttribute] IVsUserContextItemCollection^% pplist
)
function PackedAttributeLookup(
pwzRequired : String,
pwzScope : String,
pplist : IVsUserContextItemCollection
) : int
Parameters
pwzRequired
Type: System.String[in]
pwzScope
Type: System.String[in]
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From context.idl:
HRESULT IVsUserContextItemProvider::PackedAttributeLookup(
[in] LPCOLESTR pwzRequired,
[in] LPCOLESTR pwzScope,
[out] IVsUserContextItemCollection ** ppList
);
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsUserContextItemProvider Interface