Delen via


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

'Declaration
Public Structure ParameterizedStringPart
public struct ParameterizedStringPart
public value class ParameterizedStringPart
[<Sealed>]
type ParameterizedStringPart =  struct end
JScript supports the use of structures, but not the declaration of new ones.

The ParameterizedStringPart type exposes the following members.

Constructors

  Name Description
Public method ParameterizedStringPart(String) Initializes a new instance of the ParameterizedStringPart class by using the provided literal text.
Public method 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.

Top

Properties

  Name Description
Public propertyStatic member Empty Gets an empty ParameterizedStringPart object.
Public property IgnoreValue Gets a value that indicates whether to ignore the value.
Public property IsParameter Gets a value that indicates whether the string is a parameter.
Public property LiteralValue Gets the literal string for this parameterized part.
Public property ParameterName Gets the name of the parameter.
Public property XmlWrapper

Top

Methods

  Name Description
Public method Equals(Object) Gets a value that indicates whether the provided object is equal to this object. (Overrides ValueType.Equals(Object).)
Public method Equals(ParameterizedStringPart) Gets a value that indicates whether the provided object is equal to this object.
Public method GetHashCode Returns the hash code for this instance. (Overrides ValueType.GetHashCode.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Operators

  Name Description
Public operatorStatic member Equality Provides an equality operator (=) for comparing two ParameterizedStringPart objects.
Public operatorStatic member Inequality Provides an inequality operator (!=) for comparing two ParameterizedStringPart objects.

Top

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

Reference

Microsoft.TeamFoundation.TestManagement.Client Namespace

ParameterizedString