次の方法で共有


DescriptionResourceAttribute Class

Definition

Attribute to provide property descriptions on domain properties.

public ref class DescriptionResourceAttribute sealed : System::ComponentModel::DescriptionAttribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false)]
public sealed class DescriptionResourceAttribute : System.ComponentModel.DescriptionAttribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false)>]
type DescriptionResourceAttribute = class
    inherit DescriptionAttribute
Public NotInheritable Class DescriptionResourceAttribute
Inherits DescriptionAttribute
Inheritance
DescriptionResourceAttribute
Attributes

Constructors

DescriptionResourceAttribute(String, Type, String)

Initializes a new instance of the DescriptionAttribute class with a description

DescriptionResourceAttribute(String, Type)

Initializes a new instance of the DescriptionAttribute class with a description

Properties

Description

Gets the description stored in this attribute.

DescriptionKey

Description resource Id.

ResourceName

Resource name.

Type

Type identifying resource location.

Applies to