次の方法で共有


IVsOutput.get_DeploySourceURL Method

Returns the web location of an output item.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'宣言
Function get_DeploySourceURL ( _
    <OutAttribute> ByRef pbstrDeploySourceURL As String _
) As Integer
'使用
Dim instance As IVsOutput
Dim pbstrDeploySourceURL As String
Dim returnValue As Integer

returnValue = instance.get_DeploySourceURL(pbstrDeploySourceURL)
int get_DeploySourceURL(
    out string pbstrDeploySourceURL
)
int get_DeploySourceURL(
    [OutAttribute] String^% pbstrDeploySourceURL
)
abstract get_DeploySourceURL : 
        pbstrDeploySourceURL:string byref -> int 
function get_DeploySourceURL(
    pbstrDeploySourceURL : String
) : int

Parameters

  • pbstrDeploySourceURL
    Type: System.String%
    [out] Pointer to the output item's web location in URL format.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsOutput::get_DeploySourceURL(
   [out] BSTR *pbstrDeploySourceURL
);

For output items stored in the local file system, pbstrDeploySourceURL should begin with the following eight characters: "file:///." However, callers should not assume that the string is in any particular format. They should parse the pbstrDeploySourceURL to determine if they can access the specified location.

.NET Framework Security

See Also

Reference

IVsOutput Interface

IVsOutput Members

Microsoft.VisualStudio.Shell.Interop Namespace