Reference.Name Property

Definition

Gets the name of the object. Read-only.

public:
 property System::String ^ Name { System::String ^ get(); };
public:
 property Platform::String ^ Name { Platform::String ^ get(); };
[System.Runtime.InteropServices.DispId(5)]
public string Name { [System.Runtime.InteropServices.DispId(5)] get; }
[<System.Runtime.InteropServices.DispId(5)>]
[<get: System.Runtime.InteropServices.DispId(5)>]
member this.Name : string
Public ReadOnly Property Name As String

Property Value

String.The string returned depends on the reference type.Reference TypeValue ReturnedAssemblyThe assembly name, which is the file name of the reference without the extension.COMThe name of the wrapper for the referenced type library, which is the file name without the extension.

Attributes

Examples

See the example in Reference.

Remarks

This property specifies the .NET Framework name of the referenced assembly, whether the assembly is a .NET Framework assembly or a wrapper for a COM type library.

Applies to