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
Get
prjReferenceType Type { get; }
property prjReferenceType Type {
prjReferenceType get ();
}
abstract Type : prjReferenceType
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
- 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.