Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
'Declaration
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
)
public:
virtual int MapLogicalView(
Guid% logicalView,
[OutAttribute] String^% physicalView
)
abstract MapLogicalView :
logicalView:Guid byref *
physicalView:string byref -> int
override MapLogicalView :
logicalView:Guid byref *
physicalView:string byref -> int
public function MapLogicalView(
logicalView : Guid,
physicalView : String
) : int
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.