Initializes a new instance of the LocalizablePropertyDescriptionAttribute class using the specified type and property name.
네임스페이스: Microsoft.SqlServer.Dts.Runtime.Localization
어셈블리: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)
구문
‘선언
Public Sub New ( _
type As Type, _
propertyName As String _
)
public LocalizablePropertyDescriptionAttribute (
Type type,
string propertyName
)
public:
LocalizablePropertyDescriptionAttribute (
Type^ type,
String^ propertyName
)
public LocalizablePropertyDescriptionAttribute (
Type type,
String propertyName
)
public function LocalizablePropertyDescriptionAttribute (
type : Type,
propertyName : String
)
매개 변수
- type
The type name, where Type is defined by the Type Class in the .NET Framework Class Library. This type contains the property referred to by propertyName.
- propertyName
The name of property on the type which returns localized property description.
주의
The property must be static, and return a String.
예
The following code example shows a class that implements this attribute.
[LocalizablePropertyDescription(typeof(myObject),"PackageTypeDesc")]
public class MyTask : Task
{
// Your code here.
}
플랫폼
개발 플랫폼
지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.
대상 플랫폼
지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.
참고 항목
참조
LocalizablePropertyDescriptionAttribute Class
LocalizablePropertyDescriptionAttribute Members
Microsoft.SqlServer.Dts.Runtime.Localization Namespace