DatabaseProjectAddItemDialogContext.AddCreationString 方法
加入索引鍵/值組,該索引鍵/值組將可供在 vstemplate 的 WizardExtension 屬性中指定的精靈使用。
命名空間: Microsoft.VisualStudio.Data.Schema.Package.Project
組件: Microsoft.VisualStudio.Data.Schema.Package (在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)
語法
'宣告
Public Sub AddCreationString ( _
key As String, _
value As String _
)
public void AddCreationString(
string key,
string value
)
public:
void AddCreationString(
String^ key,
String^ value
)
member AddCreationString :
key:string *
value:string -> unit
public function AddCreationString(
key : String,
value : String
)
參數
- key
型別:System.String
可供 vstemplate 精靈處理的索引鍵。
- value
型別:System.String
數值。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。