WebFormsReferenceManager.GetType(String, String) 方法

定义

获取具有指定标记前缀和标记名称的对象类型。Gets the object type with the specified tag prefix and tag name.

public:
 abstract Type ^ GetType(System::String ^ tagPrefix, System::String ^ tagName);
public abstract Type GetType (string tagPrefix, string tagName);
override this.GetType : string * string -> Type
Public MustOverride Function GetType (tagPrefix As String, tagName As String) As Type

参数

tagPrefix
String

要检索的类型的标记前缀。The tag prefix of the type to retrieve.

tagName
String

要检索的类型的标记名称。The tag name of the type to retrieve.

返回

Type

如果找到,则为具有指定标记前缀和名称的对象的 Type;否则为 nullThe Type of the object with the specified tag prefix and name, if found; otherwise, null.

适用于

另请参阅