Partager via


IVsOutput2.get_DeploySourceURL Method (String%)

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

'Déclaration
Function get_DeploySourceURL ( _
    <OutAttribute> ByRef pbstrDeploySourceURL As String _
) As Integer
'Utilisation
Dim instance As IVsOutput2
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.

Implements

IVsOutput.get_DeploySourceURL(String%)

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

IVsOutput2 Members

get_DeploySourceURL Overload

Microsoft.VisualStudio.Shell.Interop Namespace