| ConfigurationExtensionsWithName Method |
Sets the Name property of a
Configuration object.
Namespace: FsCheckUtilsAssembly: FsCheckUtils (in FsCheckUtils.dll) Version: 1.0.1.0 (1.0.1.0)
Syntaxpublic static Configuration WithName(
this Configuration configuration,
string name
)
<ExtensionAttribute>
Public Shared Function WithName (
configuration As Configuration,
name As String
) As Configuration
public:
[ExtensionAttribute]
static Configuration^ WithName(
Configuration^ configuration,
String^ name
)
[<ExtensionAttribute>]
static member WithName :
configuration : Configuration *
name : string -> Configuration
Parameters
- configuration
- Type: Configuration
The Configuration object on which
to set the Name property. - name
- Type: SystemString
The value to use for the Name property.
Return Value
Type:
ConfigurationThe
configuration object to allow chaining.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Configuration. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also