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 | |
---|---|---|
ParameterizedStringPart(String) | Initializes a new instance of the ParameterizedStringPart class by using the provided literal text. | |
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 | |
---|---|---|
Empty | Gets an empty ParameterizedStringPart object. | |
IgnoreValue | Gets a value that indicates whether to ignore the value. | |
IsParameter | Gets a value that indicates whether the string is a parameter. | |
LiteralValue | Gets the literal string for this parameterized part. | |
ParameterName | Gets the name of the parameter. | |
XmlWrapper |
Top
Methods
Name | Description | |
---|---|---|
Equals(Object) | Gets a value that indicates whether the provided object is equal to this object. (Overrides ValueType.Equals(Object).) | |
Equals(ParameterizedStringPart) | Gets a value that indicates whether the provided object is equal to this object. | |
GetHashCode | Returns the hash code for this instance. (Overrides ValueType.GetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Top
Operators
Name | Description | |
---|---|---|
Equality | Provides an equality operator (=) for comparing two ParameterizedStringPart objects. | |
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.