Specifies culture, case, and sorting rules for various Team Foundation Server strings.
Inheritance Hierarchy
System.Object
  System.StringComparer
    Microsoft.TeamFoundation.TFStringComparer
Namespace:  Microsoft.TeamFoundation
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
Public Class TFStringComparer _
    Inherits StringComparer
public class TFStringComparer : StringComparer
public ref class TFStringComparer : public StringComparer
type TFStringComparer =  
    class 
        inherit StringComparer 
    end
public class TFStringComparer extends StringComparer
The TFStringComparer type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) .gif) | AccessMappingMoniker | Gets a string comparer object for AccessMappingMoniker. | 
| .gif) .gif) | AccountInfoAccount | Gets a string comparer object for AccountInfoAccount. | 
| .gif) .gif) | AccountInfoPassword | Gets a string comparer object for AccountInfoPassword. | 
| .gif) .gif) | AclPermissionEntry | Gets a string comparer object for AclPermissionEntry. | 
| .gif) .gif) | AllowedValue | Gets a string comparer object for AllowedValue. | 
| .gif) .gif) | AnnotationName | Gets a string comparer object for AnnotationName. | 
| .gif) .gif) | ArtifactTool | Gets a string comparer object for ArtifactTool. | 
| .gif) .gif) | ArtifactType | Gets a string comparer object for Artifact Type. | 
| .gif) .gif) | ArtiFactUrl | Gets a string comparer object for ArtiFactUrl. | 
| .gif) .gif) | AssemblyName | Gets a string comparer object for AssemblyName. | 
| .gif) .gif) | AttachmentName | Gets a string comparer object for AttachmentName. | 
| .gif) .gif) | AutoCompleteComboBox | Gets a string comparer object for AutoCompleteComboBox. | 
| .gif) .gif) | BaseHierarchyNodeName | Gets a string comparer object for BaseHierarchyNodeName. | 
| .gif) .gif) | BaseHierarchyNodePath | Gets a string comparer object for BaseHierarchyNodePath. | 
| .gif) .gif) | BaseUIHierarchyNodeName | Gets a string comparer object for BaseUIHierarchyNodeName. | 
| .gif) .gif) | BoardColumnName | |
| .gif) .gif) | BoolAppSetting | Gets a string comparer object for BoolAppSetting. | 
| .gif) .gif) | BuildAgent | Gets a string comparer object for BuildAgent. | 
| .gif) .gif) | BuildAgentUI | Gets a string comparer object for BuildAgentUI. | 
| .gif) .gif) | BuildControllerName | Gets a string comparer object for BuildControllerName. | 
| .gif) .gif) | BuildControllerNameUI | Gets a string comparer object for BuildControllerNameUI. | 
| .gif) .gif) | BuildName | Gets a string comparer object for BuildName. | 
| .gif) .gif) | BuildNumber | Gets a string comparer object for BuildNumber. | 
| .gif) .gif) | BuildPlatformFlavor | Gets a string comparer object for BuildPlatformFlavor. | 
| .gif) .gif) | BuildQuality | Gets a string comparer object for BuildQuality. | 
| .gif) .gif) | BuildQualityUI | Gets a string comparer object for BuildQualityUI. | 
| .gif) .gif) | BuildStep | Gets a string comparer object for BuildStep. | 
| .gif) .gif) | BuildTargetName | Gets a string comparer object for BuildTargetName. | 
| .gif) .gif) | BuildTaskName | Gets a string comparer object for BuildTaskName. | 
| .gif) .gif) | BuildType | Gets a string comparer object for BuildType. | 
| .gif) .gif) | BuildTypeUI | Gets a string comparer object for BuildTypeUI. | 
| .gif) .gif) | CanonicalName | Gets a string comparer object for CanonicalName. | 
| .gif) .gif) | CaseInsensitiveArrayList | Gets a string comparer object for CaseInsensitiveArrayList. | 
| .gif) .gif) | CaseSensitiveFileName | Gets a string comparer object for CaseSensitiveFileName. | 
| .gif) .gif) | CatalogItemName | Gets a string comparer object for CatalogItemName. | 
| .gif) .gif) | CatalogNodeDependency | Gets a string comparer object for CatalogNodeDependency. | 
| .gif) .gif) | CatalogNodePath | Gets a string comparer object for CatalogNodePath. | 
| .gif) .gif) | CatalogServiceReference | Gets a string comparer object for CatalogServiceReference. | 
| .gif) .gif) | ChangeType | Gets a string comparer object for ChangeType. | 
| .gif) .gif) | ChangeTypeUI | Gets a string comparer object for ChangeTypeUI. | 
| .gif) .gif) | CheckinNoteName | Gets a string comparer object for CheckinNoteName. | 
| .gif) .gif) | CheckinNoteNameUI | Gets a string comparer object for CheckinNoteNameUI. | 
| .gif) .gif) | Collation | |
| .gif) .gif) | CommandLineOptionName | Gets a string comparer object for CommandLineOptionName. | 
| .gif) .gif) | CommandLineOptionValue | Gets a string comparer object for CommandLineOptionValue. | 
| .gif) .gif) | Comment | Gets a string comparer object for Comment. | 
| .gif) .gif) | CommentUI | Gets a string comparer object for CommentUI. | 
| .gif) .gif) | ConflictDescription | Gets a string comparer object for ConflictDescription. | 
| .gif) .gif) | ConflictDescriptionUI | Gets a string comparer object for ConflictDescriptionUI. | 
| .gif) .gif) | ConflictType | Gets a string comparer object for ConflictType. | 
| .gif) .gif) | ConflictTypeUI | Gets a string comparer object for ConflictTypeUI. | 
| .gif) .gif) | ContentType | Gets a string comparer object for ContentType. | 
| .gif) .gif) | ControlClassName | |
| .gif) .gif) | ControlType | |
| .gif) .gif) | CreateDSArg | Gets a string comparer object for CreateDSArg. | 
| .gif) .gif) | CssActions | Gets a string comparer object for CssActions. | 
| .gif) .gif) | CssNodeName | Gets a string comparer object for CssNodeName. | 
| .gif) .gif) | CssProjectPropertyName | Gets a string comparer object for CssProjectPropertyName. | 
| .gif) .gif) | CssSprocErrors | Gets a string comparer object for CssSprocErrors. | 
| .gif) .gif) | CssStructureType | Gets a string comparer object for CssStructureType. | 
| .gif) .gif) | CssTreeNodeName | Gets a string comparer object for CssTreeNodeName. | 
| .gif) .gif) | CssTreePathName | Gets a string comparer object for CssTreePathName. | 
| .gif) .gif) | CssXmlNodeInfoUri | Gets a string comparer object for CssXmlNodeInfoUri. | 
| .gif) .gif) | CssXmlNodeName | Gets a string comparer object for CssXmlNodeName. | 
| .gif) .gif) | DatabaseCategory | Gets a string comparer object for DatabaseCategory. | 
| .gif) .gif) | DatabaseName | Gets a string comparer object for DatabaseName. | 
| .gif) .gif) | DataGridId | Gets a string comparer object for DataGridId. | 
| .gif) .gif) | DataSource | |
| .gif) .gif) | DataSourceIgnoreProtocol | |
| .gif) .gif) | DataType | Gets a string comparer object for DataType. | 
| .gif) .gif) | DiagnosticAreaPathName | |
| .gif) .gif) | DirectoryEntrySchemaClassName | Gets a string comparer object for DirectoryEntrySchemaClassName. | 
| .gif) .gif) | DomainName | Gets a string comparer object for DomainName. | 
| .gif) .gif) | DomainNameUI | Gets a string comparer object for DomainNameUI. | 
| .gif) .gif) | DomainUrl | Gets a string comparer object for DomainUrl. | 
| .gif) .gif) | ELeadListObjectName | Gets a string comparer object for ELeadListObjectName. | 
| .gif) .gif) | EncodingName | Gets a string comparer object for EncodingName. | 
| .gif) .gif) | EnvVar | Gets a string comparer object for EnvVar. | 
| .gif) .gif) | EventType | Gets a string comparer object for EventType. | 
| .gif) .gif) | EventTypeIgnoreCase | |
| .gif) .gif) | ExcelBannerText | Gets a string comparer object for ExcelBannerText. | 
| .gif) .gif) | ExcelColumnName | Gets a string comparer object for ExcelColumnName. | 
| .gif) .gif) | ExcelListName | Gets a string comparer object for ExcelListName. | 
| .gif) .gif) | ExcelNumberFormat | Gets a string comparer object for ExcelNumberFormat. | 
| .gif) .gif) | ExcelValidationData | Gets a string comparer object for ExcelValidationData. | 
| .gif) .gif) | ExcelValidationDataIgnoreCase | Gets a string comparer object for ExcelValidationDataIgnoreCase. | 
| .gif) .gif) | ExcelWorkSheetName | Gets a string comparer object for ExcelWorkSheetName. | 
| .gif) .gif) | ExceptionSource | Gets a string comparer object for ExceptionSource. | 
| .gif) .gif) | ExtensionName | Gets a string comparer object for ExtensionName. | 
| .gif) .gif) | FactName | Gets a string comparer object for FactName. | 
| .gif) .gif) | FavoritesNodePath | Gets a string comparer object for FavoritesNodePath. | 
| .gif) .gif) | FeatureAvailabilityName | |
| .gif) .gif) | FieldName | Gets a string comparer object for FieldName. | 
| .gif) .gif) | FieldNameUI | Gets a string comparer object for FieldNameUI. | 
| .gif) .gif) | FieldType | Gets a string comparer object for FieldType. | 
| .gif) .gif) | FilePath | Gets a string comparer object for FilePath. | 
| .gif) .gif) | FilePathUI | Gets a string comparer object for FilePathUI. | 
| .gif) .gif) | FileType | Gets a string comparer object for FileType. | 
| .gif) .gif) | GroupName | Gets a string comparer object for GroupName. | 
| .gif) .gif) | Guid | Gets a string comparer object for Guid. | 
| .gif) .gif) | HashCode | Gets a string comparer object for HashCode. | 
| .gif) .gif) | HostingAccountPropertyName | |
| .gif) .gif) | Hostname | Gets a string comparer object for Hostname. | 
| .gif) .gif) | HostnameUI | Gets a string comparer object for HostnameUI. | 
| .gif) .gif) | HtmlAttributeName | |
| .gif) .gif) | HtmlAttributeValue | |
| .gif) .gif) | HtmlElementName | |
| .gif) .gif) | HttpRequestMethod | Gets a string comparer object for HttpRequestMethod. | 
| .gif) .gif) | IdentityData | Gets a string comparer object for IdentityData. | 
| .gif) .gif) | IdentityDescriptor | Gets a string comparer object for IdentityDescriptor. | 
| .gif) .gif) | IdentityName | Gets a string comparer object for IdentityName. | 
| .gif) .gif) | IdentityPropertyName | |
| .gif) .gif) | InformationType | Gets a string comparer object for InformationType. | 
| .gif) .gif) | InstanceId | Gets a string comparer object for InstanceId. | 
| .gif) .gif) | LabelName | Gets a string comparer object for LabelName. | 
| .gif) .gif) | LabelNameUI | Gets a string comparer object for LabelNameUI. | 
| .gif) .gif) | LinkComment | |
| .gif) .gif) | LinkData | Gets a string comparer object for LinkData. | 
| .gif) .gif) | LinkName | Gets a string comparer object for LinkName. | 
| .gif) .gif) | ListViewItem | Gets a string comparer object for ListViewItem. | 
| .gif) .gif) | MailAddress | |
| .gif) .gif) | MessageBusName | |
| .gif) .gif) | MessageBusSubscriptionName | |
| .gif) .gif) | MSProjectAssignmentName | |
| .gif) .gif) | MSProjectCellValue | Gets a string comparer object for MSProjectCellValue. | 
| .gif) .gif) | MSProjectDisplayableObjectName | Gets a string comparer object for MSProjectDisplayableObjectName. | 
| .gif) .gif) | MSProjectFieldName | |
| .gif) .gif) | NodeSpec | Gets a string comparer object for NodeSpec. | 
| .gif) .gif) | ObjectId | Gets a string comparer object for ObjectId. | 
| .gif) .gif) | OfficeVersions | Gets a string comparer object for OfficeVersions. | 
| .gif) .gif) | OfficeWorkItemId | Gets a string comparer object for OfficeWorkItemId. | 
| .gif) .gif) | OlapAccessUser | Gets a string comparer object for OlapAccessUser. | 
| .gif) .gif) | OlapConnectionString | Gets a string comparer object for OlapConnectionString. | 
| .gif) .gif) | OlapDimensionAnnotation | Gets a string comparer object for OlapDimensionAnnotation. | 
| .gif) .gif) | OlapDimensionAttributeID | Gets a string comparer object for OlapDimensionAttributeID. | 
| .gif) .gif) | OlapDimensionID | Gets a string comparer object for OlapDimensionID. | 
| .gif) .gif) | OlapDimensionName | Gets a string comparer object for OlapDimensionName. | 
| .gif) .gif) | OlapFriendlyNameLookup | Gets a string comparer object for OlapFriendlyNameLookup. | 
| .gif) .gif) | OlapProcessingType | Gets a string comparer object for OlapProcessingType. | 
| .gif) .gif) | ParserTag | Gets a string comparer object for ParserTag. | 
| .gif) .gif) | PermissionName | Gets a string comparer object for PermissionName. | 
| .gif) .gif) | PlugInId | Gets a string comparer object for PlugInId. | 
| .gif) .gif) | PolicyType | Gets a string comparer object for PolicyType. | 
| .gif) .gif) | ProgId | Gets a string comparer object for ProgId. | 
| .gif) .gif) | ProjectCreationContextData | Gets a string comparer object for ProjectCreationContextData. | 
| .gif) .gif) | ProjectString | Gets a string comparer object for ProjectString. | 
| .gif) .gif) | ProjectUri | Gets a string comparer object for ProjectUri. | 
| .gif) .gif) | ProjMapArgs | Gets a string comparer object for ProjMapArgs. | 
| .gif) .gif) | PropertyName | Gets a string comparer object for PropertyName. | 
| .gif) .gif) | QueryOperator | Gets a string comparer object for QueryOperator. | 
| .gif) .gif) | QuotaName | |
| .gif) .gif) | RegistrationAttributeName | Gets a string comparer object for RegistrationAttributeName. | 
| .gif) .gif) | RegistrationEntryName | Gets a string comparer object for RegistrationEntryName. | 
| .gif) .gif) | RegistrationEntryType | Gets a string comparer object for RegistrationEntryType. | 
| .gif) .gif) | RegistrationUtilities | Gets a string comparer object for RegistrationUtilities. | 
| .gif) .gif) | RegistrationUtilitiesCaseInsensitive | Gets a string comparer object for RegistrationUtilitiesCaseInsensitive. | 
| .gif) .gif) | RegistryPath | Gets a string comparer object for RegistryPath. | 
| .gif) .gif) | ReportItemPath | Gets a string comparer object for ReportItemPath. | 
| .gif) .gif) | ReservedGroupName | Gets a string comparer object for ReservedGroupName. | 
| .gif) .gif) | RoleMemberName | Gets a string comparer object for RoleMemberName. | 
| .gif) .gif) | SDServerPath | Gets a string comparer object for SDServerPath. | 
| .gif) .gif) | ServerName | Gets a string comparer object for ServerName. | 
| .gif) .gif) | ServerUrl | Gets a string comparer object for ServerUrl. | 
| .gif) .gif) | ServerUrlUI | Gets a string comparer object for ServerUrlUI. | 
| .gif) .gif) | ServiceInterface | Gets a string comparer object for ServiceInterface. | 
| .gif) .gif) | ServiceType | Gets a string comparer object for ServiceType. | 
| .gif) .gif) | ServicingOperation | Gets a string comparer object for ServicingOperation. | 
| .gif) .gif) | ServicingTokenName | Gets a string comparer object for ServicingTokenName. | 
| .gif) .gif) | SharePointAbsolutePath | Gets a string comparer object for SharePointAbsolutePath. | 
| .gif) .gif) | SharePointPropertyValueDirty | Gets a string comparer object for SharePointPropertyValueDirty. | 
| .gif) .gif) | SharePointPropertyValueSearch | Gets a string comparer object for SharePointPropertyValueSearch. | 
| .gif) .gif) | SharePointRedirectionArgument | Gets a string comparer object for SharePointRedirectionArgument. | 
| .gif) .gif) | SharePointSolutionName | Gets a string comparer object for SharePointSolutionName. | 
| .gif) .gif) | ShelvesetName | Gets a string comparer object for ShelvesetName. | 
| .gif) .gif) | ShelvesetNameUI | Gets a string comparer object for ShelvesetNameUI. | 
| .gif) .gif) | SID | Gets a string comparer object for SID. | 
| .gif) .gif) | SoapExceptionCode | Gets a string comparer object for SoapExceptionCode. | 
| .gif) .gif) | StoredQueryName | Gets a string comparer object for StoredQueryName. | 
| .gif) .gif) | StoredQueryText | Gets a string comparer object for StoredQueryText. | 
| .gif) .gif) | StoryboardLinkPath | |
| .gif) .gif) | StoryboardStencilReferenceName | |
| .gif) .gif) | StringFieldConditionEquality | Gets a string comparer object for StringFieldConditionEquality. | 
| .gif) .gif) | StringFieldConditionOrdinal | Gets a string comparer object for StringFieldConditionOrdinal. | 
| .gif) .gif) | StringUtilityComparison | Gets a string comparer object for StringUtilityComparison. | 
| .gif) .gif) | StructureType | Gets a string comparer object for StructureType. | 
| .gif) .gif) | SubscriptionFieldName | Gets a string comparer object for SubscriptionFieldName. | 
| .gif) .gif) | SubscriptionTag | Gets a string comparer object for SubscriptionTag. | 
| .gif) .gif) | TagName | |
| .gif) .gif) | TeamNameUI | |
| .gif) .gif) | TeamProjectCollectionName | Gets a string comparer object for TeamProjectCollectionName. | 
| .gif) .gif) | TeamProjectCollectionNameUI | Gets a string comparer object for TeamProjectCollectionNameUI. | 
| .gif) .gif) | TeamProjectName | Gets a string comparer object for TeamProjectName. | 
| .gif) .gif) | TeamProjectNameUI | Gets a string comparer object for TeamProjectNameUI. | 
| .gif) .gif) | TemplateName | Gets a string comparer object for TemplateName. | 
| .gif) .gif) | TestCategoryName | Gets a string comparer object for TestCategoryName. | 
| .gif) .gif) | TestCategoryNameUI | Gets a string comparer object for TestCategoryNameUI. | 
| .gif) .gif) | TFSName | Gets a string comparer object for TFSName. | 
| .gif) .gif) | TFSNameUI | Gets a string comparer object for TFSNameUI. | 
| .gif) .gif) | TfsProtocolUriComponent | |
| .gif) .gif) | ToolId | Gets a string comparer object for ToolId. | 
| .gif) .gif) | UpdateAction | Gets a string comparer object for UpdateAction. | 
| .gif) .gif) | UriScheme | |
| .gif) .gif) | Url | Gets a string comparer object for Url. | 
| .gif) .gif) | UrlPath | Gets a string comparer object for UrlPath. | 
| .gif) .gif) | UserName | Gets a string comparer object for UserName. | 
| .gif) .gif) | UserNameUI | Gets a string comparer object for UserNameUI. | 
| .gif) .gif) | Verb | Gets a string comparer object for Verb. | 
| .gif) .gif) | VersionControlPath | Gets a string comparer object for VersionControlPath. | 
| .gif) .gif) | VSSItemName | Gets a string comparer object for VSSItemName. | 
| .gif) .gif) | VSSServerPath | Gets a string comparer object for VSSServerPath. | 
| .gif) .gif) | WareHouseDimensionName | Gets a string comparer object for WareHouseDimensionName. | 
| .gif) .gif) | WareHouseFieldName | Gets a string comparer object for WareHouseFieldName. | 
| .gif) .gif) | WIConverterFieldRefName | Gets a string comparer object for WIConverterFieldRefName. | 
| .gif) .gif) | WorkbookName | Gets a string comparer object for WorkbookName. | 
| .gif) .gif) | WorkItemActionName | |
| .gif) .gif) | WorkItemArtifactType | Gets a string comparer object for WorkItemArtifactType. | 
| .gif) .gif) | WorkItemCategoryName | Gets a string comparer object for WorkItemCategoryName. | 
| .gif) .gif) | WorkItemFieldFriendlyName | Gets a string comparer object for WorkItemFieldFriendlyName. | 
| .gif) .gif) | WorkItemFieldReferenceName | Gets a string comparer object for WorkItemFieldReferenceName. | 
| .gif) .gif) | WorkItemId | Gets a string comparer object for WorkItemId. | 
| .gif) .gif) | WorkItemQueryName | Gets a string comparer object for WorkItemQueryName. | 
| .gif) .gif) | WorkItemQueryText | |
| .gif) .gif) | WorkItemRev | Gets a string comparer object for WorkItemRev. | 
| .gif) .gif) | WorkItemStateName | Gets a string comparer object for WorkItemStateName. | 
| .gif) .gif) | WorkItemType | Gets a string comparer object for WorkItemType. | 
| .gif) .gif) | WorkItemTypeName | Gets a string comparer object for WorkItemTypeName. | 
| .gif) .gif) | WorkItemUpdate | |
| .gif) .gif) | WorksheetName | Gets a string comparer object for WorksheetName. | 
| .gif) .gif) | WorkspaceName | Gets a string comparer object for WorkspaceName. | 
| .gif) .gif) | WorkspaceNameUI | Gets a string comparer object for WorkspaceNameUI. | 
| .gif) .gif) | WssFilePath | Gets a string comparer object for WssFilePath. | 
| .gif) .gif) | WssListElement | Gets a string comparer object for WssListElement. | 
| .gif) .gif) | WssTemplate | Gets a string comparer object for WssTemplate. | 
| .gif) .gif) | XmlAttributeName | Gets a string comparer object for XmlAttributeName. | 
| .gif) .gif) | XmlAttributeValue | Gets a string comparer object for XmlAttributeValue. | 
| .gif) .gif) | XmlElement | Gets a string comparer object for XmlElement. | 
| .gif) .gif) | XmlNodeName | Gets a string comparer object for XmlNodeName. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Compare(Object, Object) | When overridden in a derived class, compares two objects and returns an indication of their relative sort order. (Inherited from StringComparer.) | 
| .gif) | Compare(String, String) | Compares the specified strings. (Overrides StringComparer.Compare(String, String).) | 
| .gif) | Compare(String, Int32, String, Int32, Int32) | Compares the specified strings from the specified indices. | 
| .gif) | Contains | Checks whether the specified string contains the specified pattern. | 
| .gif) | EndsWith | Checks whether the specified string ends with the specified pattern. | 
| .gif) | Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) | 
| .gif) | Equals(Object, Object) | When overridden in a derived class, indicates whether two objects are equal. (Inherited from StringComparer.) | 
| .gif) | Equals(String, String) | Check whether the specified strings are equal. (Overrides StringComparer.Equals(String, String).) | 
| .gif) | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | 
| .gif) | GetHashCode() | Serves as the default hash function. (Inherited from Object.) | 
| .gif) | GetHashCode(Object) | When overridden in a derived class, gets the hash code for the specified object. (Inherited from StringComparer.) | 
| .gif) | GetHashCode(String) | Gets a hash code of the specified string. (Overrides StringComparer.GetHashCode(String).) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | IndexOf | Gets the index in the specified string that the first occurrence of the specified pattern appears. | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | StartsWith | Checks whether the specified string starts with the specified pattern. | 
| .gif) | ToString | Returns a string that represents the current object. (Inherited from Object.) | 
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.