Share via


ModuleDefinition.Name Property

Definition

Gets the name that was used to create the module definition.

public:
 property System::String ^ Name { System::String ^ get(); };
public string Name { get; }
member this.Name : string
Public ReadOnly Property Name As String

Property Value

The value of the name parameter that was passed to the ModuleDefinition(String, String) constructor.

Examples

The following example writes the value of the Name property to the tracing output.

Trace.WriteLine("ModuleDefinition.Name: " + modDefn.Name);

Applies to