StringFormatName Class

 

Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Specifies the format of a StringAttributeMetadata attribute using the FormatName property.

For the Web API the corresponding type is StringFormatName ComplexType.

Namespace:   Microsoft.Xrm.Sdk.Metadata
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

System.Object
  Microsoft.Xrm.Sdk.Metadata.ConstantsBase<T>
    Microsoft.Xrm.Sdk.Metadata.StringFormatName

[DataContractAttribute(Name = "StringFormatName", Namespace = "http://schemas.microsoft.com/xrm/2013/Metadata")]
public sealed class StringFormatName : ConstantsBase<string>

NameDescription
System_CAPS_pubmethodStringFormatName()

Initializes a new instance of the StringFormatName class.

NameDescription
System_CAPS_pubpropertyExtensionData

(Inherited from ConstantsBase<T>.)

System_CAPS_pubpropertyValue

(Inherited from ConstantsBase<T>.)

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether two instances are equal.(Overrides Object.Equals(Object).)

System_CAPS_pubmethodGetHashCode()

Returns a hash code value for this type.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticEmail

Specifies to display the StringAttributeMetadata as an email address.

System_CAPS_pubfieldSystem_CAPS_staticPhone

Specifies to display the StringAttributeMetadata as an phone number.

System_CAPS_pubfieldSystem_CAPS_staticPhoneticGuide

Specifies to display the StringAttributeMetadata as an phonetic guide.

System_CAPS_pubfieldSystem_CAPS_staticText

Specifies to display the StringAttributeMetadata as text.

System_CAPS_pubfieldSystem_CAPS_staticTextArea

Specifies to display the StringAttributeMetadata as a text area.

System_CAPS_pubfieldSystem_CAPS_staticTickerSymbol

Specifies to display the StringAttributeMetadata as a ticker symbol.

System_CAPS_pubfieldSystem_CAPS_staticUrl

Specifies to display the StringAttributeMetadata as a URL.

System_CAPS_pubfieldSystem_CAPS_staticVersionNumber

Specifies to display the StringAttributeMetadata as a version number.

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(StringFormatName, StringFormatName)

Indicates whether two StringFormatName instances are the same.

System_CAPS_puboperatorSystem_CAPS_staticImplicit(String to StringFormatName)

Converts a string into a StringFormatName

System_CAPS_puboperatorSystem_CAPS_staticInequality(StringFormatName, StringFormatName)

Indicates whether two StringFormatName instances are different.

This class replaces the deprecated StringFormat enumeration used to set the StringAttributeMetadata.Format property.

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

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Show: