Udostępnij za pośrednictwem


VCReferences.CanAddProjectReferenceByIdentifier Method

Returns a value indicating whether to add the given project reference by refering to it by its unique identifier.

Namespace:  Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

Syntax

'Declaration
Function CanAddProjectReferenceByIdentifier ( _
    Identifier As String _
) As Boolean
bool CanAddProjectReferenceByIdentifier(
    string Identifier
)
bool CanAddProjectReferenceByIdentifier(
    [InAttribute] String^ Identifier
)
abstract CanAddProjectReferenceByIdentifier : 
        Identifier:string -> bool 
function CanAddProjectReferenceByIdentifier(
    Identifier : String
) : boolean

Parameters

  • Identifier
    Type: System.String
    Unique identifier of the assembly.

Return Value

Type: System.Boolean
true if the assembly reference can be added, false if it cannot.

.NET Framework Security

See Also

Reference

VCReferences Interface

Microsoft.VisualStudio.VCProjectEngine Namespace