Compartir a través de


Reference.Type Property

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

Namespace:  VSLangProj
Assembly:  VSLangProj (in VSLangProj.dll)

Syntax

'Declaration
ReadOnly Property Type As prjReferenceType
prjReferenceType Type { get; }
property prjReferenceType Type {
    prjReferenceType get ();
}
abstract Type : prjReferenceType with get
function get Type () : prjReferenceType

Property Value

Type: VSLangProj.prjReferenceType
Returns a prjReferenceType enumeration value.

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.

Examples

See the example in Reference.

.NET Framework Security

See Also

Reference

Reference Interface

VSLangProj Namespace