Freigeben über


IVsOutput2.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: String%

    [out] Pointer to the output item's web location in URL format.

Return Value

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsOutput2::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

IVsOutput2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace