共用方式為


ProjectCollection.RemoveGlobalProperty(String) Method

Definition

Removes a global property from the collection-level set of global properties, and all projects in the project collection. If it was on this project collection, returns true.

public:
 bool RemoveGlobalProperty(System::String ^ name);
public bool RemoveGlobalProperty (string name);
member this.RemoveGlobalProperty : string -> bool
Public Function RemoveGlobalProperty (name As String) As Boolean

Parameters

name
String

The name of the default global property to remove.

Returns

true if the global property is present before removal; otherwise, false.

Applies to