共用方式為


IVsaItems.Remove 方法 (String)

依照名稱所指定,從集合中移除項目。

命名空間:  Microsoft.Vsa
組件:  Microsoft.Vsa (在 Microsoft.Vsa.dll 中)

語法

'宣告
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
Sub Remove ( _
    name As String _
)
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
void Remove(
    string name
)
[PermissionSetAttribute(SecurityAction::LinkDemand, Name = L"FullTrust")]
void Remove(
    String^ name
)
[<PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")>]
abstract Remove : 
        name:string -> unit
function Remove(
    name : String
)

參數

  • name
    類型:String

    要從集合中移除的項目名稱。

請參閱

參考

IVsaItems 介面

Remove 多載

Microsoft.Vsa 命名空間