Share via


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

'Declaration
Function get_DeploySourceURL ( _
    <OutAttribute> ByRef pbstrDeploySourceURL As String _
) As Integer
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

Microsoft.VisualStudio.Shell.Interop Namespace