Reference2.Type Property
Gets a prjReferenceType value indicating whether the reference is an assembly or a COM component. Read-only.
Namespace: VSLangProj2
Assembly: VSLangProj2 (in VSLangProj2.dll)
'Declaration
ReadOnly Property Type As prjReferenceType
'Usage
Dim instance As Reference2
Dim value As prjReferenceType
value = instance.Type
prjReferenceType Type { get; }
property prjReferenceType Type {
prjReferenceType get ();
}
function get Type () : prjReferenceType
Type: VSLangProj.prjReferenceType
Returns a prjReferenceType value.
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.
- 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.