IWebFormReferenceManager.GetObjectType(String, String) 方法
定义
获取指定对象的类型。Gets the type of the specified object.
public:
Type ^ GetObjectType(System::String ^ tagPrefix, System::String ^ typeName);
public Type GetObjectType (string tagPrefix, string typeName);
abstract member GetObjectType : string * string -> Type
Public Function GetObjectType (tagPrefix As String, typeName As String) As Type
参数
- tagPrefix
- String
类型的标记前缀。The tag prefix for the type.
- typeName
- String
类型的名称。The name of the type.
返回
该对象的 Type(如果能够解析它的话)。The Type of the object, if it could be resolved.
注解
备注
GetObjectType方法已过时。The GetObjectType method is obsolete. 对 GetType 类使用方法 WebFormsReferenceManager ,以获得等效的设计器功能。Use the GetType method on the WebFormsReferenceManager class for equivalent designer functionality.