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: StringUnique identifier of the assembly.
Return Value
Type: Boolean
true if the assembly reference can be added, false if it cannot.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.