Compartir a través de


LocalizablePropertyDescriptionAttribute.Description Property

Gets the description associated with the property.

Espacio de nombres: Microsoft.SqlServer.Dts.Runtime.Localization
Ensamblado: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

Sintaxis

'Declaración
Public Overrides ReadOnly Property Description As String
public override string Description { get; }
public:
virtual property String^ Description {
    String^ get () override;
}
/** @property */
public String get_Description ()
public override function get Description () : String

Valor de propiedad

A String that contains the description of the property.

Ejemplo

The following example shows a class that provides a property description.

public class MyTask : Task
{
[LocalizablePropertyDescription (typeof(LocalizedStrings),"MyPropertyDescription")]
     public string MyProperty
{ get; set; }
}
internal class LocalizedStrings
    {
        public static string MyPropertyDescription
        {
            get
            {
                // Return the localized string.
            }
        }

}

Seguridad para subprocesos

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

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

LocalizablePropertyDescriptionAttribute Class
LocalizablePropertyDescriptionAttribute Members
Microsoft.SqlServer.Dts.Runtime.Localization Namespace