Compartir a través de


Reference.Name Property

Gets the name of the object. Read-only.

Namespace:  VSLangProj
Assembly:  VSLangProj (in VSLangProj.dll)

Syntax

'Declaration
ReadOnly Property Name As String
string Name { get; }
property String^ Name {
    String^ get ();
}
abstract Name : string with get
function get Name () : String

Property Value

Type: String
String.
The string returned depends on the reference type.

Reference Type

Value Returned

Assembly

The assembly name, which is the file name of the reference without the extension.

COM

The name of the wrapper for the referenced type library, which is the file name without the extension.

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.

Examples

See the example in Reference.

.NET Framework Security

See Also

Reference

Reference Interface

VSLangProj Namespace