IVsExternalFilesManager2.GetExternalFilesProject Method (IVsProject%)
Instantiates the Miscellaneous Files (External Files) project and returns a pointer to it.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'宣言
Function GetExternalFilesProject ( _
<OutAttribute> ByRef ppProject As IVsProject _
) As Integer
'使用
Dim instance As IVsExternalFilesManager2
Dim ppProject As IVsProject
Dim returnValue As Integer
returnValue = instance.GetExternalFilesProject(ppProject)
int GetExternalFilesProject(
out IVsProject ppProject
)
int GetExternalFilesProject(
[OutAttribute] IVsProject^% ppProject
)
abstract GetExternalFilesProject :
ppProject:IVsProject byref -> int
function GetExternalFilesProject(
ppProject : IVsProject
) : int
Parameters
- ppProject
Type: Microsoft.VisualStudio.Shell.Interop.IVsProject%
[out] Pointer to the Miscellaneous Files (External Files) project.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsExternalFilesManager.GetExternalFilesProject(IVsProject%)
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsExternalFilesManager2::GetExternalFilesProject(
[out] IVsProject **ppProject
);
GetExternalFilesProjec t returns a pointer to the Miscellaneous Files project when a document is to be saved outside of its own project system, for example, a World Wide Web project.
.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.
See Also
Reference
IVsExternalFilesManager2 Interface
IVsExternalFilesManager2 Members