DeploymentProviderSettingCollection.TryGetValue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the setting value associated with the specified name.
public:
bool TryGetValue(System::String ^ name, [Runtime::InteropServices::Out] Microsoft::Web::Deployment::DeploymentProviderSetting ^ % providerSetting);
public bool TryGetValue (string name, out Microsoft.Web.Deployment.DeploymentProviderSetting providerSetting);
member this.TryGetValue : string * -> bool
Public Function TryGetValue (name As String, ByRef providerSetting As DeploymentProviderSetting) As Boolean
Parameters
- name
- String
The name of the value to get.
- providerSetting
- DeploymentProviderSetting
When this method returns, contains the value associated with the specified name
, if the name
is found; otherwise, the default value for the type of the providerSetting
parameter. This parameter is passed uninitialized.
Returns
true
if the collection contains an element with the specified name
; otherwise, false
.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for