WebFormsReferenceManager.RegisterTagPrefix(Type) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
為指定類型新增標籤前綴。
public:
abstract System::String ^ RegisterTagPrefix(Type ^ objectType);
public abstract string RegisterTagPrefix(Type objectType);
abstract member RegisterTagPrefix : Type -> string
Public MustOverride Function RegisterTagPrefix (objectType As Type) As String
參數
- objectType
- Type
在目前文件中加入標籤前綴的類型。
傳回
標籤前綴字串。
備註
如果標籤前綴已經存在,則不會新增暫存器指令。