IVsExpansion.InsertNamedExpansion Method
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
‘선언
Function InsertNamedExpansion ( _
bstrTitle As String, _
bstrPath As String, _
tsInsertPos As TextSpan, _
pExpansionClient As IVsExpansionClient, _
guidLang As Guid, _
fShowDisambiguationUI As Integer, _
<OutAttribute> ByRef pSession As IVsExpansionSession _
) As Integer
‘사용 방법
Dim instance As IVsExpansion
Dim bstrTitle As String
Dim bstrPath As String
Dim tsInsertPos As TextSpan
Dim pExpansionClient As IVsExpansionClient
Dim guidLang As Guid
Dim fShowDisambiguationUI As Integer
Dim pSession As IVsExpansionSession
Dim returnValue As Integer
returnValue = instance.InsertNamedExpansion(bstrTitle, _
bstrPath, tsInsertPos, pExpansionClient, _
guidLang, fShowDisambiguationUI, _
pSession)
int InsertNamedExpansion(
string bstrTitle,
string bstrPath,
TextSpan tsInsertPos,
IVsExpansionClient pExpansionClient,
Guid guidLang,
int fShowDisambiguationUI,
out IVsExpansionSession pSession
)
int InsertNamedExpansion(
[InAttribute] String^ bstrTitle,
[InAttribute] String^ bstrPath,
[InAttribute] TextSpan tsInsertPos,
[InAttribute] IVsExpansionClient^ pExpansionClient,
[InAttribute] Guid guidLang,
[InAttribute] int fShowDisambiguationUI,
[OutAttribute] IVsExpansionSession^% pSession
)
abstract InsertNamedExpansion :
bstrTitle:string *
bstrPath:string *
tsInsertPos:TextSpan *
pExpansionClient:IVsExpansionClient *
guidLang:Guid *
fShowDisambiguationUI:int *
pSession:IVsExpansionSession byref -> int
function InsertNamedExpansion(
bstrTitle : String,
bstrPath : String,
tsInsertPos : TextSpan,
pExpansionClient : IVsExpansionClient,
guidLang : Guid,
fShowDisambiguationUI : int,
pSession : IVsExpansionSession
) : int
Parameters
- bstrTitle
Type: System.String
- bstrPath
Type: System.String
- tsInsertPos
Type: Microsoft.VisualStudio.TextManager.Interop.TextSpan
- pExpansionClient
Type: Microsoft.VisualStudio.TextManager.Interop.IVsExpansionClient
- guidLang
Type: System.Guid
- fShowDisambiguationUI
Type: System.Int32
- pSession
Type: Microsoft.VisualStudio.TextManager.Interop.IVsExpansionSession%
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.