Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

OutputName Property

Visual Studio .NET 2003

Specifies the name of the generated wrapper DLL.

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


The new name of the generated wrapper DLL.

Return Value

A string representing the name of the generated wrapper DLL.


' Add a reference to Microsoft.VisualStudio.VCProjectEngine and have a 
' Visual C++ .NET project loaded before running this example.
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 VCAuxiliaryManagedWrapperGeneratorTool
        prj = DTE.Solution.Projects.Item(1).Object
        cfgs = prj.Configurations
        cfg = cfgs.Item(1)
        tool = cfg.Tools("VCAuxiliaryManagedWrapperGeneratorTool")
        MsgBox("Current output name: " & tool.OutputName)
    End Sub
End Module

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

See Also

Applies To: VCAuxiliaryManagedWrapperGeneratorTool Object | VCManagedWrapperGeneratorTool Object

© 2015 Microsoft