指定した名前を持つ ProjectItems のコレクションにフォルダを追加します。
名前空間 : Microsoft.VisualStudio.Data.Schema.Project.Automation
アセンブリ : Microsoft.VisualStudio.Data.Schema.Project (Microsoft.VisualStudio.Data.Schema.Project.dll 内)
構文
'宣言
Public Overrides Function AddFolder ( _
name As String, _
kind As String _
) As ProjectItem
'使用
Dim instance As OAProjectItems
Dim name As String
Dim kind As String
Dim returnValue As ProjectItem
returnValue = instance.AddFolder(name, _
kind)
public override ProjectItem AddFolder(
string name,
string kind
)
public:
virtual ProjectItem^ AddFolder(
String^ name,
String^ kind
) override
public override function AddFolder(
name : String,
kind : String
) : ProjectItem
パラメータ
- name
型 : System.String
追加する新しいフォルダの名前。
- kind
型 : System.String
フォルダの種類の GUID を表す文字列。
戻り値
実装
ProjectItems.AddFolder(String, String)
解説
種類は null、空の文字列、vsProjectItemKindPhysicalFolder の文字列値のいずれかである必要があります。
この実装では仮想フォルダはサポートされません。