Partilhar via


ElementPropertyDescriptor.GetSetValueTransactionName Method

Returns a localized string for the name of the set value transaction.

Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Declaração
Public Shared Function GetSetValueTransactionName ( _
    caption As String _
) As String
public static string GetSetValueTransactionName(
    string caption
)
public:
static String^ GetSetValueTransactionName(
    String^ caption
)
static member GetSetValueTransactionName : 
        caption:string -> string 
public static function GetSetValueTransactionName(
    caption : String
) : String

Parameters

  • caption
    Type: System.String
    The localized string that describes the value that will be set.

Return Value

Type: System.String
A localized string for the name of the set value transaction.

Exceptions

Exception Condition
ArgumentNullException

caption is nulla null reference (Nothing in Visual Basic) or the empty string ("").

Remarks

The SetValue method initiates a set value transaction for the described property.

The phrase is localized based on the culture that is used by the current thread. The resources shipped with the Visual Studio 2010 SDK only support English.

This method uses composition to generate the phrase.

.NET Framework Security

See Also

Reference

ElementPropertyDescriptor Class

Microsoft.VisualStudio.Modeling.Design Namespace

CurrentCulture