Compartilhar via


Reference2.Type Property

Definition

Gets a prjReferenceType value indicating whether the reference is an assembly or a COM component. Read-only.

public:
 property VSLangProj::prjReferenceType Type { VSLangProj::prjReferenceType get(); };
public:
 property VSLangProj::prjReferenceType Type { VSLangProj::prjReferenceType get(); };
[System.Runtime.InteropServices.DispId(6)]
public VSLangProj.prjReferenceType Type { [System.Runtime.InteropServices.DispId(6)] get; }
[<System.Runtime.InteropServices.DispId(6)>]
[<get: System.Runtime.InteropServices.DispId(6)>]
member this.Type : VSLangProj.prjReferenceType
Public ReadOnly Property Type As prjReferenceType

Property Value

Returns a prjReferenceType value.

Implements

Attributes

Remarks

Most of the property values of a reference are affected by the reference type. For example, assemblies have a meaningful BuildNumber property and RevisionNumber property. For COM references, these properties are set to 0.

Applies to