EditorFactory.MapLogicalView Method
Maps a logical view to a physical view.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Syntax
'宣言
Public Overridable Function MapLogicalView ( _
ByRef logicalView As Guid, _
<OutAttribute> ByRef physicalView As String _
) As Integer
public virtual int MapLogicalView(
ref Guid logicalView,
out string physicalView
)
Parameters
- logicalView
Type: System.Guid%
Unique identifier of the logical view.
- physicalView
Type: System.String%
The name of the physical view to which the logical view is to be mapped.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsEditorFactory.MapLogicalView(Guid%, String%)
.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.