DescriptionAttribute(String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DescriptionAttribute class.
public:
DescriptionAttribute(System::String ^ desc);
public DescriptionAttribute (string desc);
new System.EnterpriseServices.DescriptionAttribute : string -> System.EnterpriseServices.DescriptionAttribute
Public Sub New (desc As String)
Parameters
- desc
- String
The description of the assembly (application), component, method, or interface.
Examples
The following code example demonstrates the use of this constructor.
[assembly: Description("A system for ensuring that the correct account "
"balance is stored after a transaction.")];
[assembly: Description("A system for ensuring that the correct account balance is stored after a transaction.")]
<Assembly: Description("A system for ensuring that the correct account balance is stored after a transaction.")>
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.