Udostępnij za pośrednictwem


Reference.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 enumeration value.

Attributes

Examples

See the example in Reference.

Remarks

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

Applies to