ActionDescriptorExtensions.SetProperty<T>(ActionDescriptor, T) 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.
Sets the value of an property in the Properties collection using
the provided value of T
as the key.
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static void SetProperty(Microsoft::AspNetCore::Mvc::Abstractions::ActionDescriptor ^ actionDescriptor, T value);
public static void SetProperty<T> (this Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor actionDescriptor, T value);
static member SetProperty : Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor * 'T -> unit
<Extension()>
Public Sub SetProperty(Of T) (actionDescriptor As ActionDescriptor, value As T)
Type Parameters
- T
The type of the property.
Parameters
- actionDescriptor
- ActionDescriptor
The action descriptor.
- value
- T
The value of the property.