Export (0) Print
Expand All
Expand Minimize

Output Property

Visual Studio .NET 2003

Specifies the output file name.

[Visual Basic .NET]
Public Property Output() As String
[Visual Basic 6]
Property Get Output() As String
Property Let Output( _
   ByVal NewValue As String _
) 
[C++]
HRESULT __stdcall get_Output(
   /* [out, retval] */ BSTR* retVal
);
HRESULT __stdcall put_Output(
   /* [in] */ BSTR NewValue
);
[C#]
public string Output {get; set;}
[JScript .NET]
public function get Output() : String
public function set Output(
   NewValue : String
)

Example

The following sample code modifies this VCWebServiceProxyGeneratorTool object's Output property in the development environment:

' add reference to Microsoft.VisualStudio.VCProjectEngine
Imports EnvDTE
Imports Microsoft.VisualStudio.VCProjectEngine

Public Module Module1
    Sub Test()
        Dim prj As VCProject
        Dim cfgs, tools As IVCCollection
        Dim cfg As VCConfiguration
        Dim tool As VCWebServiceProxyGeneratorTool
        prj = DTE.Solution.Projects.Item(1).Object
        cfgs = prj.Configurations
        cfg = cfgs.Item(1)
        tool = cfg.Tools("VCWebServiceProxyGeneratorTool")
        tool.Output = "$(TargetDir)\test"
    End Sub
End Module

See Samples for Project Model Extensibility for information on how to compile and run this sample.

See Also

Applies To: VCNMakeTool Object | VCWebServiceProxyGeneratorTool Object

Show:
© 2014 Microsoft