共用方式為


Reference2.Name Property

Gets the name of the object. Read-only.

Namespace:  VSLangProj2
Assembly:  VSLangProj2 (in VSLangProj2.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.

.NET Framework Security

See Also

Reference

Reference2 Interface

VSLangProj2 Namespace