BuildDependency.get_CanonicalName Method

Gets the canonical name of the project, that is, the project's unique name. It is not necessary for build dependencies to have non-a null reference (Nothing in Visual Basic) names; anonymous projects have null names. In this implementation, the name is always a null reference (Nothing in Visual Basic).

Namespace:  Microsoft.VisualStudio.Package
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

'宣言
Public Function get_CanonicalName ( _
    <OutAttribute> ByRef canonicalName As String _
) As Integer
'使用
Dim instance As BuildDependency
Dim canonicalName As String
Dim returnValue As Integer

returnValue = instance.get_CanonicalName(canonicalName)
public int get_CanonicalName(
    out string canonicalName
)
public:
virtual int get_CanonicalName(
    [OutAttribute] String^% canonicalName
) sealed
public final function get_CanonicalName(
    canonicalName : String
) : int

Parameters

  • canonicalName
    Type: System.String%

    [out] The canonical name of the project. Always returns a null reference (Nothing in Visual Basic).

Return Value

Type: System.Int32

Always returns S_OK.

Implements

IVsBuildDependency.get_CanonicalName(String%)
IVsDependency.get_CanonicalName(String%)

Permissions

See Also

Reference

BuildDependency Class

BuildDependency Members

Microsoft.VisualStudio.Package Namespace