IVsShortcutManager.CreateItem (Método)
Espacio de nombres: Microsoft.VisualStudio.TextManager.Interop
Ensamblado: Microsoft.VisualStudio.TextManager.Interop (en Microsoft.VisualStudio.TextManager.Interop.dll)
Sintaxis
'Declaración
Function CreateItem ( _
iShortcutLine As Integer, _
pBuffer As IVsTextLines, _
pszBufMoniker As String _
) As Integer
int CreateItem(
int iShortcutLine,
IVsTextLines pBuffer,
string pszBufMoniker
)
int CreateItem(
[InAttribute] int iShortcutLine,
[InAttribute] IVsTextLines^ pBuffer,
[InAttribute] String^ pszBufMoniker
)
abstract CreateItem :
iShortcutLine:int *
pBuffer:IVsTextLines *
pszBufMoniker:string -> int
function CreateItem(
iShortcutLine : int,
pBuffer : IVsTextLines,
pszBufMoniker : String
) : int
Parámetros
iShortcutLine
Tipo: Int32[in]
pBuffer
Tipo: Microsoft.VisualStudio.TextManager.Interop.IVsTextLines[in]
pszBufMoniker
Tipo: String[in]
Valor devuelto
Tipo: Int32
si el método tiene éxito, devuelve S_OK.Si se produce un error, devuelve un código de error.
Comentarios
Prototipo COM
de textmgr.idl:
HRESULT IVsShortcutManager::CreateItem(
[in]long iShortcutLine,
[in]IVsTextLines* pBuffer,
[in]LPCOLESTR pszBufMoniker
);
Seguridad de .NET Framework
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, vea Utilizar bibliotecas de código que no es de plena confianza.
Vea también
Referencia
Microsoft.VisualStudio.TextManager.Interop (Espacio de nombres)