FormatterServices.GetTypeFromAssembly(Assembly, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
static Type ^ GetTypeFromAssembly(System::Reflection::Assembly ^ assem, System::String ^ name);
public static Type? GetTypeFromAssembly (System.Reflection.Assembly assem, string name);
public static Type GetTypeFromAssembly (System.Reflection.Assembly assem, string name);
[System.Security.SecurityCritical]
public static Type GetTypeFromAssembly (System.Reflection.Assembly assem, string name);
static member GetTypeFromAssembly : System.Reflection.Assembly * string -> Type
[<System.Security.SecurityCritical>]
static member GetTypeFromAssembly : System.Reflection.Assembly * string -> Type
Public Shared Function GetTypeFromAssembly (assem As Assembly, name As String) As Type
Parameters
- assem
- Assembly
The assembly where you want to look up the object.
- name
- String
The name of the object.
Returns
The Type of the named object.
- Attributes
Exceptions
The assem
parameter is null
.
The caller does not have the required permission.
Applies to
See also
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.