IVsExpansionManager.GetExpansionByShortcut Method
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
‘선언
Function GetExpansionByShortcut ( _
pClient As IVsExpansionClient, _
guidLang As Guid, _
szShortcut As String, _
pView As IVsTextView, _
pts As TextSpan(), _
fShowUI As Integer, _
<OutAttribute> ByRef pszExpansionPath As String, _
<OutAttribute> ByRef pszTitle As String _
) As Integer
‘사용 방법
Dim instance As IVsExpansionManager
Dim pClient As IVsExpansionClient
Dim guidLang As Guid
Dim szShortcut As String
Dim pView As IVsTextView
Dim pts As TextSpan()
Dim fShowUI As Integer
Dim pszExpansionPath As String
Dim pszTitle As String
Dim returnValue As Integer
returnValue = instance.GetExpansionByShortcut(pClient, _
guidLang, szShortcut, pView, pts, _
fShowUI, pszExpansionPath, pszTitle)
int GetExpansionByShortcut(
IVsExpansionClient pClient,
Guid guidLang,
string szShortcut,
IVsTextView pView,
TextSpan[] pts,
int fShowUI,
out string pszExpansionPath,
out string pszTitle
)
int GetExpansionByShortcut(
[InAttribute] IVsExpansionClient^ pClient,
[InAttribute] Guid guidLang,
[InAttribute] String^ szShortcut,
[InAttribute] IVsTextView^ pView,
[InAttribute] array<TextSpan>^ pts,
[InAttribute] int fShowUI,
[OutAttribute] String^% pszExpansionPath,
[OutAttribute] String^% pszTitle
)
abstract GetExpansionByShortcut :
pClient:IVsExpansionClient *
guidLang:Guid *
szShortcut:string *
pView:IVsTextView *
pts:TextSpan[] *
fShowUI:int *
pszExpansionPath:string byref *
pszTitle:string byref -> int
function GetExpansionByShortcut(
pClient : IVsExpansionClient,
guidLang : Guid,
szShortcut : String,
pView : IVsTextView,
pts : TextSpan[],
fShowUI : int,
pszExpansionPath : String,
pszTitle : String
) : int
Parameters
- guidLang
Type: System.Guid
- szShortcut
Type: System.String
- pts
Type: array<Microsoft.VisualStudio.TextManager.Interop.TextSpan[]
- fShowUI
Type: System.Int32
- pszExpansionPath
Type: System.String%
- pszTitle
Type: System.String%
Return Value
Type: System.Int32
.NET Framework Security
- 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.