Microsoft KB Archive/316670

= INFO: Set a Property on a .NET Framework Object with Get and Set Functions in Visual J# .NET =

Article ID: 316670

Article Last Modified on 2/23/2007

-

APPLIES TO


 * Microsoft Visual J# .NET 2003 Standard Edition
 * Microsoft Visual J# .NET 2003 Standard Edition
 * Microsoft .NET Framework 1.0
 * Microsoft .NET Framework 1.1

-



This article was previously published under Q316670





SUMMARY
In Visual J# .NET, the accessor functions set_ and get_ are used to set and retrieve the value of a property that is defined in a .NET Framework class.



MORE INFORMATION
By design, each .NET Framework object has a set_ and get_ method that permits you to work with the properties of the object. The following Visual J# .NET code is an example. boolean binary = false; DataSet ds = new DataSet (&quot;Some Table&quot;); ds.set_CaseSensitive (true); binary = ds.get_CaseSensitive ; Visual J# .NET code is not like other .NET languages, such as Microsoft Visual C# .NET. The following is a Visual C# .NET code sample: bool binary = false;

DataSet ds = new DataSet (&quot;Some Table&quot;);

ds.CaseSensitive = true; binary = ds.CaseSensitive;

Additional query words: property j#

Keywords: kbinfo kbfaq KB316670

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.