Share via


IWebFormReferenceManager.GetTagPrefix(Type) 方法

定義

取得指定物件型別的標記前置詞。

public:
 System::String ^ GetTagPrefix(Type ^ objectType);
public string GetTagPrefix (Type objectType);
abstract member GetTagPrefix : Type -> string
Public Function GetTagPrefix (objectType As Type) As String

參數

objectType
Type

物件的類型。

傳回

指定物件型別的標記前置詞 (如存在時)。

備註

注意

方法 GetTagPrefix 已過時。 GetTagPrefix在 類別上使用 WebFormsReferenceManager 方法,以取得對等的設計工具功能。

適用於

另請參閱