Gets the type of the reference (assembly or COM component).
Namespace: Microsoft.VisualStudio.Package.Automation
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overridable ReadOnly Property Type As prjReferenceType
'使用
Dim instance As OAReferenceBase
Dim value As prjReferenceType
value = instance.Type
public virtual prjReferenceType Type { get; }
public:
virtual property prjReferenceType Type {
prjReferenceType get ();
}
public function get Type () : prjReferenceType
Property Value
Type: VSLangProj.prjReferenceType
Implements
Remarks
By default this method returns an exception because it is not implemented. This class can represent projects as well as assemblies or COM components.
Permissions
- 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.
See Also
Reference
OAReferenceBase<RefType> Class