ShowProgress Property
Visual Studio .NET 2003
Enables detailed display about linker progress. Exposes the functionality of the linker's /VERBOSE option and the Resource Compiler's /v option.
[Visual Basic .NET]
Public Property ShowProgress() As linkProgressOption
[Visual Basic 6]
Property Get ShowProgress() As linkProgressOption Property Let ShowProgress( _ ByVal NewValue As linkProgressOption _ )
[C++]
HRESULT __stdcall get_ShowProgress( /* [out, retval] */ linkProgressOption* retVal ); HRESULT __stdcall put_ShowProgress( /* [in] */ linkProgressOption NewValue );
[C#]
public linkProgressOption ShowProgress {get; set;}
[JScript .NET]
public function get ShowProgress() : linkProgressOption public function set ShowProgress( NewValue : linkProgressOption )
Remarks
Use the linkProgressOption enumeration to modify the value of the linker property.
The ShowProgress property on the VCResourceCompilerTool object takes and returns a Boolean.
Example
The following sample code modifies the linker's ShowProgress 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 VCLinkerTool
prj = DTE.Solution.Projects.Item(1).Object
cfgs = prj.Configurations
cfg = cfgs.Item(1)
tool = cfg.Tools("VCLinkerTool")
tool.ShowProgress = linkProgressOption.linkProgressLibs
End Sub
End Module
See Samples for Project Model Extensibility for information on how to compile and run this sample.
See Also
Applies To: VCLinkerTool Object | VCResourceCompilerTool Object