ParameterizedStringPart Structure

 

Represents an embedded parameter in a ParameterizedString object.

Namespace:   Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntax

public struct ParameterizedStringPart
public value struct ParameterizedStringPart
[<Sealed>]
type ParameterizedStringPart = struct end
Public Structure ParameterizedStringPart

Constructors

Name Description
System_CAPS_pubmethod ParameterizedStringPart(String)

Initializes a new instance of the ParameterizedStringPart class by using the provided literal text.

System_CAPS_pubmethod ParameterizedStringPart(String, Boolean)

Initializes a new instance of the ParameterizedStringPart class by using the provided parameter name and an indication of whether to ignore the value.

Properties

Name Description
System_CAPS_pubpropertySystem_CAPS_static Empty

Gets an empty ParameterizedStringPart object.

System_CAPS_pubproperty IgnoreValue

Gets a value that indicates whether to ignore the value.

System_CAPS_pubproperty IsParameter

Gets a value that indicates whether the string is a parameter.

System_CAPS_pubproperty LiteralValue

Gets the literal string for this parameterized part.

System_CAPS_pubproperty ParameterName

Gets the name of the parameter.

System_CAPS_pubproperty XmlWrapper

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

Gets a value that indicates whether the provided object is equal to this object.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethod Equals(ParameterizedStringPart)

Gets a value that indicates whether the provided object is equal to this object.

System_CAPS_pubmethod GetHashCode()

(Overrides ValueType.GetHashCode().)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from ValueType.)

Operators

Name Description
System_CAPS_puboperatorSystem_CAPS_static Equality(ParameterizedStringPart, ParameterizedStringPart)

Provides an equality operator (=) for comparing two ParameterizedStringPart objects.

System_CAPS_puboperatorSystem_CAPS_static Inequality(ParameterizedStringPart, ParameterizedStringPart)

Provides an inequality operator (!=) for comparing two ParameterizedStringPart objects.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

ParameterizedString
Microsoft.TeamFoundation.TestManagement.Client Namespace

Return to top